diff options
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 }} |