diff options
author | calintat <calintat@gmail.com> | 2018-03-11 22:54:57 +0300 |
---|---|---|
committer | calintat <calintat@gmail.com> | 2018-03-11 22:54:57 +0300 |
commit | c55c53fc6bee719d6c703786c0c0d4986ac8783f (patch) | |
tree | 13121a2087332f89d17946b51b377e468ae73436 | |
parent | 4a6d41660ab4026e263b1a064cef085fa4e6fa1b (diff) |
Favicon is now optional
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 097463c..8176f59 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -5,13 +5,15 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ .Title }}</title> + {{ if .Site.Params.favicon }} <link rel="icon" href="{{ .Site.Params.favicon | absURL }}"> + {{ end }} {{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }} {{ if .RSSLink }} <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end }} - + {{ if .Site.GoogleAnalytics }} <!-- Global Site Tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.GoogleAnalytics }}"></script> |