diff options
author | wires <wires@noreply.wires.systems> | 2025-04-01 13:04:51 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-04-01 13:04:51 -0400 |
commit | 4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb (patch) | |
tree | b9e53ed028897bf17c6e48d2d4ff87c7972eb745 /layouts/_default/single.html | |
parent | fix codeblock tab-index issue (diff) | |
download | blog-4ccf9395a6ae244dfc6cc4328ba4317a343bbfbb.tar.gz |
more little layout tweaks
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 28 |
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 }} |