Put all article content in sections
This commit is contained in:
@@ -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,5 +1,6 @@
|
||||
{{ with .Site.Params.paige.social }}
|
||||
<nav>
|
||||
<section>
|
||||
<nav>
|
||||
<div class="mb-3 text-center">
|
||||
{{ range $k, $v := . }}
|
||||
{{ if hasPrefix $v.url "mailto:" }}
|
||||
@@ -9,5 +10,6 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user