chore: make site description visible as intended

This commit is contained in:
Ivan Ilves 2021-09-12 07:39:20 +02:00
parent e3f7fbe39d
commit 2b5263e24b
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
<div class="tc-l pv6 ph3 ph4-ns"> <div class="tc-l pv6 ph3 ph4-ns">
{{ if not .Params.omit_header_text }} {{ if not .Params.omit_header_text }}
<h1 class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</h1> <h1 class="f2 f1-l fw2 white-90 mb0 lh-title">{{ .Title | default .Site.Title }}</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>

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>