summaryrefslogtreecommitdiff
path: root/layouts/unix-history/single.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-10 22:01:04 +0200
committermms <michal@sapka.me>2024-06-10 22:01:04 +0200
commite8dd384c73b32a7e92ebe5f08c015f8ac1da78d0 (patch)
tree19137ca909423f6446d63766bab27eaddc01a2a4 /layouts/unix-history/single.html
parent902dd210730f5e7bd537ce9ef7f2b9d91a0b7fb6 (diff)
feat: UH artwork
Diffstat (limited to 'layouts/unix-history/single.html')
-rw-r--r--layouts/unix-history/single.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layouts/unix-history/single.html b/layouts/unix-history/single.html
new file mode 100644
index 0000000..fa8673b
--- /dev/null
+++ b/layouts/unix-history/single.html
@@ -0,0 +1,31 @@
+{{ 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 }}