mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 09:12:47 +00:00
fix description not showing up in header
This commit is contained in:
parent
cfee1e3cd1
commit
f60215a655
@ -9,7 +9,7 @@
|
||||
<h1 class="f2 f-subheadline-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 mt3">
|
||||
{{ . }}
|
||||
</h2>
|
||||
@ -25,7 +25,7 @@
|
||||
<h1 class="f2 f-subheadline-l fw2 light-silver 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user