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/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/meson.build') diff --git a/frontend/meson.build b/frontend/meson.build index 6af84e5..4496b22 100644 --- a/frontend/meson.build +++ b/frontend/meson.build @@ -11,7 +11,7 @@ foreach hugo_source : [ endforeach subdir('layouts') -subdir('static') +subdir('simple.css') frontend = custom_target( output : 'public', -- cgit v1.3.1