summaryrefslogtreecommitdiff
path: root/layouts/_partials/head.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/head.html')
-rw-r--r--layouts/_partials/head.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html
index 0c5a796..8487d06 100644
--- a/layouts/_partials/head.html
+++ b/layouts/_partials/head.html
@@ -2,24 +2,24 @@
<meta charset="utf-8">
<meta name="theme-color" content="#000">
<meta name="viewport" content="width=device-width, initial-scale=1">
- {{- if $.Site.Params.description }}
+ {{ if $.Site.Params.description }}
<meta name="description" content="{{ $.Site.Params.description }}">
- {{- end -}}
+ {{ end }}
{{ if $.Site.Params.keywords }}
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
- {{- end -}}
+ {{ end }}
{{ range .Site.Params.custom_css | default (slice "static/css/style.css") }}
- {{- with resources.Get . }}
+ {{ with resources.Get . }}
<link rel="stylesheet" type="text/css" href="{{ (. | minify | fingerprint).RelPermalink }}">
- {{- else }}
- {{- errorf "stylesheet %q listed in params.custom_css was not found in the assets directory" . }}
- {{- end }}
- {{- end -}}
+ {{ else }}
+ {{ errorf "stylesheet %q listed in params.custom_css was not found in the assets directory" . }}
+ {{ end }}
+ {{ end }}
{{ with .OutputFormats.Get "Atom" }}
<link rel="alternate" type="application/atom+xml" href="{{ .RelPermalink }}" title="{{ $.Site.Title }}">
- {{- end -}}
+ {{ end }}
{{ if (not (fileExists "static/favicon.ico")) }}
<link rel="icon" href="data:,">
- {{- end }}
+ {{ end }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
</head> \ No newline at end of file