wires

summary refs log tree commit diff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-03-06 23:30:44 -0500
committerwires <wires@noreply.wires.systems>2025-03-06 23:30:44 -0500
commit2b4ca1a88e4df33269e0bd80b4b23ef40d276858 (patch)
treea8095a18864992d6aec712a02fce1db034b23362 /layouts/_default/single.html
parentinitial commit (diff)
downloadblog-2b4ca1a88e4df33269e0bd80b4b23ef40d276858.tar.gz
first draft of theme
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..60d1b41
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,16 @@
+{{ define "main" }}
+<header>
+    <h1>{{ .Title }}</h1>
+    <time datetime="{{ .Lastmod }}">{{ .Lastmod.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 }}
+    {{ partial "tags.html" . }}
+{{ end }}