Move page metadata into paige-metadata.html
This commit is contained in:
@@ -1,10 +1,6 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article>
|
||||||
<section>
|
|
||||||
{{ partial "paige-title.html" . }}
|
|
||||||
{{ partial "paige-description.html" . }}
|
|
||||||
{{ partial "paige-metadata.html" . }}
|
{{ partial "paige-metadata.html" . }}
|
||||||
</section>
|
|
||||||
<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>
|
||||||
|
@@ -1,9 +1,5 @@
|
|||||||
<article>
|
<article>
|
||||||
<section>
|
|
||||||
{{ partial "paige-title.html" . }}
|
|
||||||
{{ partial "paige-description.html" . }}
|
|
||||||
{{ partial "paige-metadata.html" . }}
|
{{ partial "paige-metadata.html" . }}
|
||||||
</section>
|
|
||||||
{{ partial "paige-toc.html" . }}
|
{{ partial "paige-toc.html" . }}
|
||||||
{{ partial "paige-content.html" . }}
|
{{ partial "paige-content.html" . }}
|
||||||
</article>
|
</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