mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-29 00:00:36 +00:00
fix missing meta description
This commit is contained in:
parent
7231c988b7
commit
e182cbbe74
@ -62,3 +62,7 @@ params:
|
||||
|
||||
geekblogLegalNotice: https://thegeeklab.de/legal-notice/#contact-information
|
||||
geekblogPrivacyPolicy: https://thegeeklab.de/legal-notice/#privacy-policy
|
||||
|
||||
geekblogDescription: >
|
||||
hugo-geekblog is a simple Hugo theme for personal blogs. This page is theme documentation
|
||||
and powered by the latest version of hugo-geekblog itself.
|
||||
|
@ -1,6 +1,6 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{{ $description := default .Site.Params.GeekblogDescription (default .Summary .Description) }}
|
||||
{{ $description := default (default .Site.Title .Site.Params.GeekblogDescription) (default .Summary .Description) }}
|
||||
{{ $keywords := default .Site.Params.GeekblogKeywords .Keywords }}
|
||||
{{ $author := default (slice .Site.Params.GeekblogAuthor) .Params.authors }}
|
||||
{{ with $description }}
|
||||
|
Loading…
Reference in New Issue
Block a user