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

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html15
1 files changed, 3 insertions, 12 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f3cc40e..28b56d4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,18 +13,9 @@
<meta name="twitter:title" content="{{ if not .IsHome }}{{with .Title }}{{ . }}{{ end }}{{else}}{{ .Site.Title }}{{end}}"/>
<meta name="twitter:description" content="{{if .IsHome}}{{ .Site.Params.description }}{{else}}{{.Description}}{{end}}"/>
- {{ if (fileExists "static/apple-touch-icon.png") -}}
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
- {{ end -}}
- {{ if (fileExists "static/favicon-32.png") -}}
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
- {{ end -}}
- {{ if (fileExists "static/favicon-16.png") -}}
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
- {{ end -}}
- {{ if (fileExists "static/site.webmanifest") -}}
- <link rel="manifest" href="/site.webmanifest">
- {{ end -}}
+ <link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
+ <link rel="icon" type="image/png" sizes="32x32" href="favicon-32.png">
+ <link rel="manifest" href="site.webmanifest">
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{$style.Permalink}}" >