Added ability to configure a favicon

This commit is contained in:
aston 2016-09-23 11:43:14 +03:00
parent ecb7e949e7
commit f574b51db4

View File

@ -12,6 +12,9 @@
{{ end }} {{ end }}
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
{{ if isset .Site.Params "favicon" }}
<link href='{{ .Site.BaseURL }}{{ .Site.Params.favicon }}' rel='icon' type='image/x-icon'/>
{{ end }}
<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}"> <link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}">