summaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorNicholas Johnson <>2025-07-26 00:00:00 +0000
committerNicholas Johnson <>2025-07-26 00:00:00 +0000
commit9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3 (patch)
tree887dd23c15ddd56b850a4901b3161808bb37f1b1872fa40cbd2e2de877c3d77d /layouts/partials/head.html
parentc1dc7133883e38b6c6ddf110df1868162862159994b2f9454999454f48417e58 (diff)
downloadhugo-theme-journal-9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3.tar.gz
hugo-theme-journal-9bb9989fca490bfac69ea4387ccae1e9ec3ec23cf7f47a401e241ee43562f8a3.zip
Migrate fully to Hugo's new template system
This was the only way I could get term pages to consistently render correctly.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html22
1 files changed, 0 insertions, 22 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
deleted file mode 100644
index 8250e19..0000000
--- a/layouts/partials/head.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<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 }}
- <meta name="keywords" content="{{ $.Site.Params.keywords }}">
- {{- end -}}
- {{ if .Site.Params.custom_css -}}
- {{ range .Site.Params.custom_css }}
- <link rel="stylesheet" type="text/css" href="{{ relURL . }}">
- {{- end -}}
- {{ else }}
- <link rel="stylesheet" type="text/css" href="{{ (resources.Get "static/css/style.css").RelPermalink }}">
- {{- end -}}
- {{ if (not (fileExists "static/favicon.ico")) }}
- <link rel="icon" href="data:,">
- {{- end }}
- <title>{{ .Title }}</title>
-</head> \ No newline at end of file