wires

summary refs log tree commit diff
path: root/layouts/single.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
committerwires <wires@noreply.wires.systems>2025-07-29 14:37:32 -0400
commit54e4a732484c120d9f95fe3451da932859cf7473 (patch)
tree8eadbeaed6fbac095f602740f3abfc8b76a860fe /layouts/single.html
parentadd draft reading list page (diff)
downloadblog-54e4a732484c120d9f95fe3451da932859cf7473.tar.gz
fix stuff for new version of hugo
Diffstat (limited to 'layouts/single.html')
-rw-r--r--layouts/single.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/single.html b/layouts/single.html
new file mode 100644
index 0000000..14350a0
--- /dev/null
+++ b/layouts/single.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+<article>
+  <header>
+    <h1>{{ .Title }}</h1>
+    <time datetime="{{ .Date }}">{{ .Date.Format "January 2, 2006" }}</time>
+  </header>
+  {{ if .Params.toc }}
+  <aside id="toc">
+    <a class="skip" href="#post">Skip table of contents</a>
+    <h2 id="toc-title">Contents</h2>
+    {{ .TableOfContents }}
+  </aside>
+  <a id="post"></a>
+  {{ end }} {{ .Content }}
+</article>
+{{ partial "tags.html" . }} 
+{{ end }}