meta description

This commit is contained in:
zwbetz-gh 2021-05-19 20:59:38 -05:00
parent fa9968a3ed
commit 7210152413

View File

@ -10,6 +10,10 @@
{{ with .Site.Params.homeMetaContent }} {{ with .Site.Params.homeMetaContent }}
<meta name="description" content="{{ . | plainify }}"> <meta name="description" content="{{ . | plainify }}">
{{ end }} {{ end }}
{{ else }}
{{ $summary := trim (.Summary | plainify | htmlUnescape) "\n\r"
| default .Title }}
<meta name="description" content="{{ $summary }}">
{{ end }} {{ end }}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">