Move page metadata into paige-metadata.html

This commit is contained in:
Will Faught
2022-12-27 22:56:48 -08:00
parent 1966758e6a
commit ad9e495488
3 changed files with 7 additions and 10 deletions

View File

@@ -1,10 +1,6 @@
{{ define "main" }}
<article>
<section>
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-metadata.html" . }}
</section>
{{ partial "paige-metadata.html" . }}
<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>

View File

@@ -1,9 +1,5 @@
<article>
<section>
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-metadata.html" . }}
</section>
{{ partial "paige-metadata.html" . }}
{{ partial "paige-toc.html" . }}
{{ partial "paige-content.html" . }}
</article>

View File

@@ -0,0 +1,5 @@
<section>
{{ partial "paige-title.html" . }}
{{ partial "paige-description.html" . }}
{{ partial "paige-other.html" . }}
</section>