diff options
author | Joway.CI <joway.w@gmail.com> | 2019-01-12 07:03:47 +0300 |
---|---|---|
committer | Joway.CI <joway.w@gmail.com> | 2019-01-12 07:03:47 +0300 |
commit | 8ffe78098bd816423df0e4c7502dda9411d2811a (patch) | |
tree | 4aecab6928bd2d3ef22d54d4ebaef11ac87b29f1 | |
parent | 46dc449a0d48849bbf88e81952a07b82a87c1700 (diff) |
custom logo
-rw-r--r-- | layouts/partials/head.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2f27cb7..d531ce6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,9 +7,12 @@ <meta name="author" content="{{ .Site.Author.name }}" /> <meta property="og:url" content="{{ .Permalink }}" /> <link rel="canonical" href="{{ .Permalink }}" /> + {{- if .Site.Params.favicon -}} + <link rel="shortcut icon" href="{{ .Site.Params.favicon }}" type="image/x-png" /> + {{- end -}} {{ partial "seo" . }} - {{ if .IsHome -}} + {{- if .IsHome -}} <title>{{ .Site.Title }}</title> <meta property="og:title" content="{{ .Site.Title }}" /> <meta property="og:type" content="website" /> |