summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-05-24 00:08:27 +0200
committerxengineering <me@xengineering.eu>2026-05-24 00:10:50 +0200
commit0425f4b8e6e27923e7a43b24a05117eb62ac6786 (patch)
tree18b32f67a72c20b0a89ce7571e0acb79566da513
parent15be9a62f557d54448cbb932c4d7c4a96843daf2 (diff)
downloadfinserv-0425f4b8e6e27923e7a43b24a05117eb62ac6786.tar
finserv-0425f4b8e6e27923e7a43b24a05117eb62ac6786.tar.zst
finserv-0425f4b8e6e27923e7a43b24a05117eb62ac6786.zip
frontend: static: Add simple.css symlink
This allows to develop the frontend with `hugo server` and its built-in page refresh on file change. For the actual build the file is copied to the build directory by Meson.
-rw-r--r--frontend/meson.build2
-rw-r--r--frontend/static/meson.build2
l---------frontend/static/simple.css1
3 files changed, 2 insertions, 3 deletions
diff --git a/frontend/meson.build b/frontend/meson.build
index 4505fdb..6af84e5 100644
--- a/frontend/meson.build
+++ b/frontend/meson.build
@@ -4,8 +4,6 @@ hugo = find_program('hugo', required : true)
hugo_source_targets = []
-css = meson.current_source_dir() / 'simple.css' / 'simple.css'
-
foreach hugo_source : [
'hugo.toml',
]
diff --git a/frontend/static/meson.build b/frontend/static/meson.build
index b08b281..d7ee8fe 100644
--- a/frontend/static/meson.build
+++ b/frontend/static/meson.build
@@ -1 +1 @@
-hugo_source_targets += fs.copyfile(css)
+hugo_source_targets += fs.copyfile('simple.css')
diff --git a/frontend/static/simple.css b/frontend/static/simple.css
new file mode 120000
index 0000000..8f905d1
--- /dev/null
+++ b/frontend/static/simple.css
@@ -0,0 +1 @@
+../simple.css/simple.css \ No newline at end of file