meta description
This commit is contained in:
parent
fa9968a3ed
commit
7210152413
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user