summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
commit632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be (patch)
tree460032f496120fa11fa141da70066708140b624d28d4b1d33e3f6500ca56cedf /layouts/partials/head.html
parentdd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5 (diff)
downloadhugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.tar.gz
hugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.zip
Prefer right-aligned whitespace elimination
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index b32f8ea..34a6ead 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,18 +1,18 @@
<head>
<meta charset="utf-8">
+ <meta name="theme-color" content="#000">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{- if $.Site.Params.description }}
<meta name="description" content="{{ $.Site.Params.description }}">
- {{- end }}
- {{- if $.Site.Params.keywords }}
+ {{- end -}}
+ {{ if $.Site.Params.keywords }}
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
- {{- end }}
- <meta name="theme-color" content="#000">
- {{- if .Site.Params.custom_css }}
- {{- range .Site.Params.custom_css }}
+ {{- end -}}
+ {{ if .Site.Params.custom_css -}}
+ {{ range .Site.Params.custom_css }}
<link rel="stylesheet" type="text/css" href="{{ relURL . }}">
- {{- end }}
- {{- else }}
+ {{- end -}}
+ {{ else }}
<link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}">
{{- end }}
<title>{{ .Title }}</title>