aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/head.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-11-09 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-11-09 00:00:00 +0000
commit90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89 (patch)
tree41288bf6ebefdbf916d7f4b6e2e1683ae7f658e03b1536179d9d25a826545473 /layouts/partials/head.html
parentd2df941fdaa188ece3f43fd8c47b9234e10bbcd6ca2fe4636d9ab5da18cdb336 (diff)
downloadhugo-theme-journal-90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89.tar.gz
hugo-theme-journal-90f6e85f8689f09644b3a060541d0d5b3defa2e0f39a910e2212bc3ededeef89.zip
Remove Python scripts
Using Hugo's configDir is more elegant. css/ was moved to assets so it isn't published when processing Gemini. Files in static/ are always published. Files in assets/ are only published when invoked in a template.
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index bc92fc2..e0fa95e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -4,6 +4,6 @@
<meta name="description" content="{{ $.Site.Params.description }}">
<meta name="keywords" content="{{ $.Site.Params.keywords }}">
<meta name="theme-color" content="#000">
- <link rel="stylesheet" type="text/css" href="/css/style.css">
+ <link rel="stylesheet" type="text/css" href="{{ (resources.Get "css/style.css").RelPermalink }}">
<title>{{ $.Site.Title }}</title>
</head> \ No newline at end of file