Put all article content in sections
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article>
|
||||||
|
<section>
|
||||||
{{ partial "paige-title.html" . }}
|
{{ partial "paige-title.html" . }}
|
||||||
{{ partial "paige-description.html" . }}
|
{{ partial "paige-description.html" . }}
|
||||||
{{ partial "paige-metadata.html" . }}
|
{{ partial "paige-metadata.html" . }}
|
||||||
|
</section>
|
||||||
|
<section>
|
||||||
{{ with .Params.stretch }}
|
{{ 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>
|
<div class="mb-3 mw-100 rounded-4 shadow" style="background-image: url('{{ relLangURL . }}'); background-position: center; background-size: cover; height: 20rem"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@@ -23,6 +26,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</section>
|
||||||
{{ partial "paige-toc.html" . }}
|
{{ partial "paige-toc.html" . }}
|
||||||
{{ partial "paige-content.html" . }}
|
{{ partial "paige-content.html" . }}
|
||||||
{{ partial "paige-social.html" . }}
|
{{ partial "paige-social.html" . }}
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
{{ with .Site.Params.paige.social }}
|
{{ with .Site.Params.paige.social }}
|
||||||
<nav>
|
<section>
|
||||||
|
<nav>
|
||||||
<div class="mb-3 text-center">
|
<div class="mb-3 text-center">
|
||||||
{{ range $k, $v := . }}
|
{{ range $k, $v := . }}
|
||||||
{{ if hasPrefix $v.url "mailto:" }}
|
{{ if hasPrefix $v.url "mailto:" }}
|
||||||
@@ -9,5 +10,6 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Reference in New Issue
Block a user