From 15be9a62f557d54448cbb932c4d7c4a96843daf2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 24 May 2026 00:05:40 +0200 Subject: Use simple.css This enables the use of simple.css as CSS framework. --- frontend/layouts/baseof.html | 1 + frontend/meson.build | 3 +++ frontend/static/meson.build | 1 + 3 files changed, 5 insertions(+) create mode 100644 frontend/static/meson.build (limited to 'frontend') diff --git a/frontend/layouts/baseof.html b/frontend/layouts/baseof.html index 23f39e3..2fb5ce4 100644 --- a/frontend/layouts/baseof.html +++ b/frontend/layouts/baseof.html @@ -4,6 +4,7 @@ {{ block "title" . }}finserv{{ end }} + diff --git a/frontend/meson.build b/frontend/meson.build index b0c4b2f..4505fdb 100644 --- a/frontend/meson.build +++ b/frontend/meson.build @@ -4,6 +4,8 @@ hugo = find_program('hugo', required : true) hugo_source_targets = [] +css = meson.current_source_dir() / 'simple.css' / 'simple.css' + foreach hugo_source : [ 'hugo.toml', ] @@ -11,6 +13,7 @@ foreach hugo_source : [ endforeach subdir('layouts') +subdir('static') frontend = custom_target( output : 'public', diff --git a/frontend/static/meson.build b/frontend/static/meson.build new file mode 100644 index 0000000..b08b281 --- /dev/null +++ b/frontend/static/meson.build @@ -0,0 +1 @@ +hugo_source_targets += fs.copyfile(css) -- cgit v1.3