Add #paige-site-header
parent
e5865e7996
commit
07ba3d3305
@ -1,8 +1,16 @@
|
|||||||
{{ $page := . }}
|
{{ $page := . }}
|
||||||
|
|
||||||
{{ with $page.Param "paige.site_title" }}
|
{{ $description := $page.Param "paige.site_description" }}
|
||||||
<p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . | markdownify }}</p>
|
{{ $title := $page.Param "paige.site_title" }}
|
||||||
{{ end }}
|
|
||||||
{{ with $page.Param "paige.site_description" }}
|
{{ if or $description $title }}
|
||||||
<p class="lead text-center" id="paige-site-description">{{ . | markdownify }}</p>
|
<div class="mb-3" id="paige-site-header">
|
||||||
|
{{ with $title }}
|
||||||
|
<p class="display-1 fw-bold mb-2 text-center" id="paige-site-title">{{ . | markdownify }}</p>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with $description }}
|
||||||
|
<p class="lead text-center" id="paige-site-description">{{ . | markdownify }}</p>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue