summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/layouts/baseof.html1
-rw-r--r--frontend/meson.build3
-rw-r--r--frontend/static/meson.build1
3 files changed, 5 insertions, 0 deletions
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 @@
<title>{{ block "title" . }}finserv{{ end }}</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
+ <link rel="stylesheet" href="{{ relURL "simple.css" }}" type="text/css"/>
</head>
<body>
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)