Move page metadata into paige-metadata.html
This commit is contained in:
@@ -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>
|
||||
|
@@ -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>
|
||||
|
5
layouts/partials/paige-metadata.html
Normal file
5
layouts/partials/paige-metadata.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<section>
|
||||
{{ partial "paige-title.html" . }}
|
||||
{{ partial "paige-description.html" . }}
|
||||
{{ partial "paige-other.html" . }}
|
||||
</section>
|
Reference in New Issue
Block a user