Skip to content
Permalink
Browse files

Favicon is now optional

  • Loading branch information...
calintat committed Mar 11, 2018
1 parent 4a6d416 commit c55c53fc6bee719d6c703786c0c0d4986ac8783f
Showing with 3 additions and 1 deletion.
  1. +3 −1 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>

1 comment on commit c55c53f

@GregHilston

This comment has been minimized.

Copy link

GregHilston commented on c55c53f Apr 23, 2018

Is there any documentation on how to actual set your Favicon now?

Anyone can checkout https://stackoverflow.com/questions/42043648/where-do-i-put-my-favicon-with-hugo

This isn't a minimal theme thing, but rather a Hugo thing. My bad @calintat

Please sign in to comment.
You can’t perform that action at this time.