diff options
author | mms <michal@sapka.me> | 2024-09-13 23:05:06 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-09-13 23:05:06 +0200 |
commit | 738a6b74f6c77df682526fc6ced9c02d108e1f4d (patch) | |
tree | 3adeb7805228ecca162ce9f4b6e79b3b408b5d2f | |
parent | ec53ecc04df5ed113b2cbecfecdea28b7ccb22b1 (diff) |
feat: uxhist moved
-rw-r--r-- | content-org/blog.org | 18 | ||||
-rw-r--r-- | content-org/unix-history.org | 14 | ||||
-rw-r--r-- | content/blog/2024/uh-moved.md | 17 | ||||
-rw-r--r-- | layouts/partials/homepage/omake.html | 2 | ||||
-rw-r--r-- | layouts/unix-history/baseof.html | 190 | ||||
-rw-r--r-- | layouts/unix-history/single.html | 31 |
6 files changed, 52 insertions, 220 deletions
diff --git a/content-org/blog.org b/content-org/blog.org index 24cea92..450e963 100644 --- a/content-org/blog.org +++ b/content-org/blog.org @@ -8,13 +8,27 @@ #+HUGO_SECTION: blog -* 2024 [66/67] :@blog: +* 2024 [67/68] :@blog: :PROPERTIES: :EXPORT_HUGO_SECTION: blog/2024 :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :image_dir "blog/images" :image_max_width 600 :EXPORT_HUGO_PAIRED_SHORTCODES: image yt :END: +** DONE Unix History moved +CLOSED: [2024-09-13 Fri 23:03] +:PROPERTIES: +:EXPORT_FILE_NAME: uh-moved +:EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :abstract Second site moved to my flat +:END: + + +Moving sites to my flat is a breeze, thanks to FreeBSD. +Splitting them into separate hugo sites is not. +But here we are, [[https://unixhist.crys.site/][Unix History]] is now on [[https://crys.site][Crys Site]]. + +btw, no one guessed the reference in cryssite name. + ** DONE I most definetelly should (self-host)! CLOSED: [2024-09-12 Thu 22:55] :PROPERTIES: @@ -26,7 +40,7 @@ The answer is a clear *yes*! Firstly, say hello to my server's homepage under [[https://crys.site/][crys.site]] (bonus points if you get the reference). -I have repurposed an old Raspberry Pi 4b, which I had lying around. +I have repurposed an old Raspberry Pi 4b, which I had lyingrg- around. There, I've installed FreeBSD 14. Damn, I really love FreeBSD. I fell much comfier there than on OpenBSD or any Linux I've ever tried. diff --git a/content-org/unix-history.org b/content-org/unix-history.org index fa72a8b..6af9f4a 100644 --- a/content-org/unix-history.org +++ b/content-org/unix-history.org @@ -2,11 +2,11 @@ #+URL: https://michal.sapka.me/unix-history/ #+STARTUP: show2levels indent logdone -#+HUGO_BASE_DIR: ~/ghq/vcs.sapka.me/michal-sapka-me/ +#+HUGO_BASE_DIR: ~/sites/site-crys-unixhist/ #+HUGO_WEIGHT: auto -#+HUGO_SECTION: unix-history +#+HUGO_SECTION: -* UH :@unix_history: +* UH :PROPERTIES: :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :image_dir "unix-history" :image_max_width 480 :EXPORT_HUGO_PAIRED_SHORTCODES: image @@ -21,7 +21,7 @@ CLOSED: [2024-05-30 Sat 21:03] :EXPORT_HUGO_CUSTOM_FRONT_MATTER+: :shortname History of Unix :EXPORT_HUGO_MENU: :menu bsd :EXPORT_HUGO_PAIRED_SHORTCODES: img-r menu menu-info image -:EXPORT_HUGO_LASTMOD: 2024-06-10 +:EXPORT_HUGO_LASTMOD: 2024-09-13 :END: To say that the history of Unix is long and convoluted would be a huge understatement. @@ -32,6 +32,7 @@ It lives in its ideas and licenses, but very rarely do we think about running Un #+attr_shortcode: :file header-transparent.png #+attr_shortcode: :alt A group of characters from Unix Surrealism. #+attr_shortcode: :class centered +#+attr_shortcode: :transparency yes #+begin_image noop #+end_image @@ -65,6 +66,7 @@ noop *** Changes +- /2024-09-13/: Moved to crys.site - /2024-06-10/: Added artwork; fixes in Part 3 - /2024-06-09/: Date fixes (IX/386 Xenix) in Part 3 - /2024-06-08/: First release of Part 3 @@ -172,6 +174,7 @@ CLOSED: [2024-03-16 Sat 21:00] **** Bell Labs + Let's pause here and discuss a few things. /Bell Labs/ was a research institute founded by no other, but the famous Alexander Graham Bell in 1876. @@ -182,7 +185,7 @@ The work completed there was awarded 10 times with a Nobel Prize[fn:wikibell]. But it wasn't all pretty. AT&T (owner of the lab) was /the/ telephone company in the USA. It had the /de facto/ monopoly for most of the 20th century. -This led to a consent decree with US Government under which AT&T was forbidden to branch out to other markets. +kkThis led to a consent decree with US Government under which AT&T was forbidden to branch out to other markets. This agreement happened in 1956 and will be very important for our story[fn:hiddenunix]. Another cool tidbit: back then computer screens as we know them now were yet to be invented. @@ -322,6 +325,7 @@ CLOSED: [2024-06-08 Sat 14:43] :EXPORT_HUGO_LASTMOD: 2024-06-10 :END: + This resulted in a very particualar situation. Different organizations came into possesion of a /great/ operating system with which they were able to do whatever they pleased. The original creators, AT&T were unable to sell the software. diff --git a/content/blog/2024/uh-moved.md b/content/blog/2024/uh-moved.md new file mode 100644 index 0000000..e3c970b --- /dev/null +++ b/content/blog/2024/uh-moved.md @@ -0,0 +1,17 @@ ++++ +title = "Unix History moved" +author = ["Michał Sapka"] +date = 2024-09-13T23:03:00+02:00 +categories = ["blog"] +draft = false +weight = 2001 +image_dir = "blog/images" +image_max_width = 600 +abstract = "Second site moved to my flat" ++++ + +Moving sites to my flat is a breeze, thanks to FreeBSD. +Splitting them into separate hugo sites is not. +But here we are, [Unix History](https://unixhist.crys.site/) is now on [Crys Site](https://crys.site). + +btw, no one guessed the reference in cryssite name. diff --git a/layouts/partials/homepage/omake.html b/layouts/partials/homepage/omake.html index a83a0dc..aa78624 100644 --- a/layouts/partials/homepage/omake.html +++ b/layouts/partials/homepage/omake.html @@ -23,6 +23,6 @@ (japanese): extra, bonus<br> Currently: mirror of an old site. <ul> - <li><a href="/userfriendly/">User Friendly Cartoon Archive</a> (over 5500 pages!) + <li><a href="https://uf.crys.site">User Friendly Cartoon Archive</a> (over 5500 pages!) </lu> </section> diff --git a/layouts/unix-history/baseof.html b/layouts/unix-history/baseof.html index 0ad985c..54db2d9 100644 --- a/layouts/unix-history/baseof.html +++ b/layouts/unix-history/baseof.html @@ -1,187 +1,13 @@ +{{ block "main" . }} +{{ end }} + <!DOCTYPE html> -<html lang="en"> - +<html> <head> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta charset="utf-8"> - <title> {{ .Page.Title }} </title> - - - <meta name="viewport" content="width=device-width, initial-scale=1"> - - {{- $header_rect := resources.Get "unix-history/header-rect.png" }} - {{- $header_rect_180 := $header_rect.Resize "180x webp q90"}} - <link rel="apple-touch-icon" sizes="180x180" href="{{ $header_rect_180.Permalink }}"> - - {{- $header_rect_32 := $header_rect.Resize "32x webp q90"}} - <link rel="icon" type="image/png" sizes="32x32" href="{{ $header_rect_32.Permalink }}"> - - {{- $header_rect_16 := $header_rect.Resize "16x webp q90"}} - <link rel="icon" type="image/png" sizes="16x16" href="{{ $header_rect_16.Permalink }}"> - - <meta name="description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}"> - - <meta property="og:title" content="{{ .Page.Title }}"> - <meta property="og:type" content="website"> - <meta property="og:url" content="{{ .Permalink }}"> - <meta property="og:image" content="{{ $header_rect.Permalink }}"> - <meta property="og:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}"> - - <link rel="canonical" href="{{ .Permalink }}"> - <link rel='alternate' type='application/rss+xml' title="Feed with all changes" href='/index.xml'> - <link rel='alternate' type='application/rss+xml' title="Feed with Unix History changes" href='/unix-history/index.xml'> - <meta name="robots" content="index, follow"> - <link rel="me" href="https://emacs.ch/@mms"> - - <link rel="webmention" href="https://webmention.io/d-s.sh/webmention"> - <link rel="pingback" href="https://webmention.io/d-s.sh/xmlrpc"> - - {{- $bg := resources.Get "unix-history/bg.gif" -}} - - <style> - :root { - --bg-color: #E8E9EB; - --heading-color: #738678; - --text-color: #000; - } - - body { - width: 800px; - max-width: 70%; - margin-left: auto; - margin-right: auto; - font-family: helvetica; - font-size: 1em; - line-height: 1.5em; - text-align: justify; - background-image: url({{ $bg.Permalink }}); - background-repeat: repeat-y; - background-size: 200px; - background-color: var(--bg-color); - padding-top: 20px; - padding-bottom: 30px; - padding-left: 210px; - padding-right: 30px; - overflow-x: hidden; - color: var(--text-color); - } - - @media only screen and (max-width: 700px) { - body { - background-image: unset; - max-width: 95%; - padding: 10px; - margin-left: 0; - } - } - - a { - color: var(--text-color); - } - p { - padding-left: 40px; - } - article figure { - text-align: center; - margin: 0; - max-width: 100%; - font-size: 0.8em; - } - - img { - max-width: 60%; - height: auto; - } - - h1 { - font-style: italic; - color: var(--heading-color); - } - - h2 { - font-size:1.1em; - color: var(--heading-color); - } - - .wip { - width: 80%; - background-color: #EEE; - border-radius: 5px; - margin: 20px; - margin-left: auto; - margin-right: auto; - padding: 10px; - padding-top: 20px; - padding-bottom: 20px; - border-style: solid; - border-color: #000; - border-width: 1px; - vertical-align: middle; - } - .wip img { - vertical-align: middle; - padding-left: 10px; - padding-right: 10px; - } - - .top-menu { - display: flex; - } - .top-menu-element { - width: 50%; - flex-shrink: 0; - } - - .header-sep { - margin-top: 30px; - margin-bottom: 30px; - } - - .footnotes p { - margin: 0; - padding: 0; - } - - .button { - text-align: left; - } - .button img { - width: 88px; - padding-left: 44px; - } - - </style> - + <title>{{ .Title }}</title> + <link rel="canonical" href="/unix-history/"/> + <meta http-equiv="content-type" content="text/html; charset=utf-8"/> + <meta http-equiv="refresh" content="0; url=https://unixhist.crys.site/{{ replace .RelPermalink "/unix-history/" ""}}"/> </head> - <body> - <header> - {{ block "head" . }} - {{ end }} - - <h1>{{ .Page.Params.shortname }}</h1> - </header> - - <article> - <aside class="wip"> - {{ $wip := resources.Get "icons/wip.gif"}} - <img src="{{$wip.Permalink}}" alt="Work in progress" width="{{ $wip.Width}}" height="{{ $wip.Height }}"> - This text is still work in progress and will be updated. - </aside> - - {{ block "main" . }} - {{ end }} - - </article> - - <hr> - <footer> - Website created and operated by <a href="https://michal.sapka.me">Michał</a> - <div style="padding: 15px; text-align: center;"> - {{ partial "buttons/valid_html" . }} - {{ partial "buttons/emacs" . }} - {{ partial "buttons/openbsd" . }} - </div> - </footer> - </body> </html> diff --git a/layouts/unix-history/single.html b/layouts/unix-history/single.html index fa8673b..e4e4a83 100644 --- a/layouts/unix-history/single.html +++ b/layouts/unix-history/single.html @@ -1,31 +1,2 @@ -{{ define "head" }} -<a href="/unix-history"> -{{- $header_rect := resources.Get "unix-history/header-top.png" }} -{{- $header_rect_180 := $header_rect.Resize "50x webp q90"}} -<img - style=" - height: 1.5em; - width: auto; - margin-right: 0.5em; - " - src="{{ $header_rect_180.Permalink }}" - ></a> - -<b><i>History of Unix</i></b> -<hr> - -{{ end }} - {{ define "main" }} - -<article> - {{ .Page.Content }} -</article> - -{{- if .Params.primary_menu }} - {{ partial "single/bottom_nav.html" (dict "menuID" .Page.Params.primary_menu "page" .) }} -{{- end }} - -{{ partial "single/dates.html" . }} - -{{- end }} +{{ end }} |