Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/davidhampgonsalves/hugo-black-and-light-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2017-03-10 17:56:12 +0300
committerDavid Hamp-Gonsalves <davidhampgonsalves@gmail.com>2017-03-10 17:56:12 +0300
commitc3bb69ae46100a820c199aae76f62b6f70c7d53e (patch)
tree289d903464b307c640f9829c9a3827400be24c32 /layouts
parentdd670865aa152dcbcf78fa064a9ac9979aa4f176 (diff)
support high res favicons
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 60ec901..b27c971 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -10,10 +10,12 @@
<base href="{{ .Site.BaseURL }}">
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
- <link rel="dns-prefetch" href="//fonts.googleapis.com/">
-
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400|Old+Standard+TT:400' rel='stylesheet' type='text/css'>
+ <link rel="icon" type="image/png" href="/favicon_16x16.png" sizes="16x16">
+ <link rel="icon" type="image/png" href="/favicon_32x32.png" sizes="32x32">
+ <link rel="icon" type="image/png" href="/favicon_128x128.png" sizes="128x128">
+
<title>
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
{{ if eq $url "/" }}
@@ -26,8 +28,6 @@
{{ partial "styles.html" . }}
- <link rel="shortcut icon" href="/favicon.ico">
-
{{ if .RSSLink }}
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}