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

github.com/jpescador/hugo-future-imperfect.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/favicon.html')
-rw-r--r--layouts/partials/favicon.html26
1 files changed, 14 insertions, 12 deletions
diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html
index 194762c..47ddd20 100644
--- a/layouts/partials/favicon.html
+++ b/layouts/partials/favicon.html
@@ -1,16 +1,18 @@
{{ if .Site.Params.loadFavicon }}
- {{ with .Site.Params.faviconVersion }}
- {{ $.Scratch.Set "favVer" "-" }}
- {{ $.Scratch.Add "favVer" . }}
- {{ else }}
- {{ $.Scratch.Set "favVer" "" }}
- {{ end }}
+ {{ with .Site.Params.faviconVersion }}
+ {{ $.Scratch.Set "favVer" "-" }}
+ {{ $.Scratch.Add "favVer" . }}
+ {{ else }}
+ {{ $.Scratch.Set "favVer" "" }}
+ {{ end }}
- {{ $favVer := $.Scratch.Get "favVer" }}
+ {{ $favVer := $.Scratch.Get "favVer" }}
- <link rel="apple-touch-icon-precomposed" href='/favicon/apple-touch-icon-precomposed{{ $favVer }}.png'>
- <link rel="icon" href='/favicon/favicon{{ $favVer }}.png'>
- <!--[if IE]><link rel="shortcut icon" href='/favicon{{ $favVer }}.ico'><![endif]-->
- <meta name="msapplication-TileColor" content="#da532c">
- <meta name="msapplication-TileImage" content='/favicon/mstile{{ $favVer }}.png'>
+ <link rel="apple-touch-icon-precomposed"
+ href='/favicon/apple-touch-icon-precomposed{{ $favVer }}.png'>
+ <link rel="icon" href='/favicon/favicon{{ $favVer }}.png'>
+ <!--[if IE]><link rel="shortcut icon" href='/favicon{{ $favVer }}.ico'><![endif]-->
+ <meta name="msapplication-TileColor" content="#da532c">
+ <meta name="msapplication-TileImage"
+ content='/favicon/mstile{{ $favVer }}.png'>
{{ end }}