wires

summary refs log tree commit diff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorwires <wires@noreply.wires.systems>2025-04-01 13:04:51 -0400
committerwires <wires@noreply.wires.systems>2025-04-01 13:04:51 -0400
commit4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb (patch)
treeb9e53ed028897bf17c6e48d2d4ff87c7972eb745 /layouts/_default/single.html
parentfix codeblock tab-index issue (diff)
downloadblog-4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb.tar.gz
more little layout tweaks
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 60d1b41..9d119b8 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,16 +1,18 @@
 {{ define "main" }}
-<header>
+<article>
+  <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" . }}
+    <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" . }}
+</article>
 {{ end }}