summaryrefslogtreecommitdiff
path: root/frontend/hugo.toml
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-05-28 21:05:00 +0200
committerxengineering <me@xengineering.eu>2026-05-29 16:25:02 +0200
commitfba9bcfc9a422dd3020b5efc2392ddfd71231560 (patch)
tree0922c6080aaaf225c24bd839cf6bad6696d9fbd9 /frontend/hugo.toml
parentd2e35b764adbc152190f1815d5ba29dd542fc387 (diff)
downloadfinserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.tar
finserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.tar.zst
finserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.zip
frontend: simple.css: Use copy of upstream code
This switches from the use of a Git submodule to a locally committed copy of the needed file and it's license. The reason is that `hugo server` needs the CSS file in the same relative path as `hugo build` which is run in the build tree. But this is not possible because Meson cannot copy it to the `build/frontend/simple.css` folder without a `meson.build` in `source/frontend/simple.css`. This together with the limitation that symbolic links are not supported by Hugo makes life pretty difficult. Thus a local copy of simple.css and an adjacent `meson.build` file is chosen.
Diffstat (limited to 'frontend/hugo.toml')
-rw-r--r--frontend/hugo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/hugo.toml b/frontend/hugo.toml
index 0fdee53..65aa77a 100644
--- a/frontend/hugo.toml
+++ b/frontend/hugo.toml
@@ -2,3 +2,7 @@ baseURL = 'http://localhost:8000/'
locale = 'en-gb'
title = 'finserv'
disableKinds = ["taxonomy", "sitemap", "rss"]
+
+[[module.mounts]]
+source = "simple.css/simple.css"
+target = "static/simple.css"