Rename site.html to site-metadata.html

This commit is contained in:
Will Faught
2024-07-12 13:51:06 -07:00
parent 239cee82c6
commit 7cb41831c7
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
{{ $page := . }}
{{ $description := $page.Param "paige.site_description" }}
{{ $title := $page.Param "paige.site_title" }}
{{ if or $description $title }}
<div class="mb-3 text-center" id="paige-site-header">
{{ with $title }}
<p class="display-1 fw-bold mb-2" id="paige-site-title">{{ . | markdownify }}</p>
{{ end }}
{{ with $description }}
<p class="lead" id="paige-site-description">{{ . | markdownify }}</p>
{{ end }}
</div>
{{ end }}