If is home then insert meta description

This commit is contained in:
Zachary Betz 2019-02-20 14:01:28 -06:00
parent bbbc351494
commit b0c4dc0755

View File

@ -6,6 +6,12 @@
{{ .Hugo.Generator }}
<link rel="canonical" href="{{ .Permalink }}">
{{ if .IsHome }}
{{ with .Site.Params.description }}
<meta name="description" content="{{ . | plainify }}">
{{ end }}
{{ end }}
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">