From fba9bcfc9a422dd3020b5efc2392ddfd71231560 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 28 May 2026 21:05:00 +0200 Subject: 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. --- frontend/hugo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'frontend/hugo.toml') 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" -- cgit v1.3.1