fix description not showing up in header

This commit is contained in:
Charles Brunet 2022-04-09 20:46:46 -04:00
parent cfee1e3cd1
commit f60215a655

View File

@ -9,7 +9,7 @@
<h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title"> <h1 class="f2 f-subheadline-l fw2 white-90 mb0 lh-title">
{{ .Title | default .Site.Title }} {{ .Title | default .Site.Title }}
</h1> </h1>
{{ with .Params.description }} {{ with .Site.Params.description }}
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center mt3"> <h2 class="fw1 f5 f3-l white-80 measure-wide-l center mt3">
{{ . }} {{ . }}
</h2> </h2>
@ -25,7 +25,7 @@
<h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title"> <h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">
{{ .Title | default .Site.Title }} {{ .Title | default .Site.Title }}
</h1> </h1>
{{ with .Params.description }} {{ with .Site.Params.description }}
<h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4"> <h2 class="fw1 f5 f3-l white-80 measure-wide-l center lh-copy mt3 mb4">
{{ . }} {{ . }}
</h2> </h2>