Put all article content in sections

master
Will Faught 3 years ago
parent b2ad1183ed
commit b5a47874a2

@ -1,8 +1,11 @@
{{ define "main" }}
<article>
<section>
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-metadata.html" . }}
</section>
<section>
{{ with .Params.stretch }}
<div class="mb-3 mw-100 rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem"></div>
{{ end }}
@ -23,6 +26,7 @@
</div>
</div>
{{ end }}
</section>
{{ partial "paige-toc.html" . }}
{{ partial "paige-content.html" . }}
{{ partial "paige-social.html" . }}

@ -1,4 +1,5 @@
{{ with .Site.Params.paige.social }}
<section>
<nav>
<div class="mb-3 text-center">
{{ range $k, $v := . }}
@ -10,4 +11,5 @@
{{ end }}
</div>
</nav>
</section>
{{ end }}

Loading…
Cancel
Save