Move the header inside the article tag in single template.
This commit is contained in:
parent
0a37a2bc9c
commit
15c6c89fce
1 changed files with 1 additions and 1 deletions
|
|
@ -9,9 +9,9 @@
|
|||
|
||||
{{ define "main" -}}
|
||||
<main class="main layout__main">
|
||||
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
|
||||
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
|
||||
<header>
|
||||
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
|
||||
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
|
||||
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
|
||||
</header>
|
||||
|
|
|
|||
Loading…
Reference in a new issue