Wrap content tag with div class content in index.html.
This commit is contained in:
parent
5f8869dfa8
commit
e7af2fc8f5
1 changed files with 2 additions and 0 deletions
|
|
@ -7,7 +7,9 @@
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
|
<main class="{{ if $.Param "sidebar" | default true }}layout-3col__left-content{{ else }}layout-3col__full{{ end }}" role="main">
|
||||||
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
|
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
|
||||||
|
<div class="content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ partial "menu.html" . -}}
|
{{ partial "menu.html" . -}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue