Blog: Collapse the hierarchy of a single blog post template to a single <main>
Remove the nested <article>. It's not necessary.
This commit is contained in:
parent
4f9cffb1ad
commit
23c0ad3fa8
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article class="content">
|
<main class="main--single content">
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
{{ partial "page_header.html" (dict "page" .) }}
|
{{ partial "page_header.html" (dict "page" .) }}
|
||||||
</header>
|
</header>
|
||||||
|
@ -10,5 +10,5 @@
|
||||||
{{ partial "page/footer.html" . }}
|
{{ partial "page/footer.html" . }}
|
||||||
{{ partial "page/prev_next_navigation.html" . }}
|
{{ partial "page/prev_next_navigation.html" . }}
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue