diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/content/meson.build | 5 | ||||
-rw-r--r-- | web/layouts/baseof.html | 1 | ||||
-rw-r--r-- | web/meson.build | 9 |
3 files changed, 11 insertions, 4 deletions
diff --git a/web/content/meson.build b/web/content/meson.build new file mode 100644 index 0000000..75d3120 --- /dev/null +++ b/web/content/meson.build @@ -0,0 +1,5 @@ +configure_file( + input: css, + output: 'simple.css', + copy: true, +) diff --git a/web/layouts/baseof.html b/web/layouts/baseof.html index 983e6e1..b52d039 100644 --- a/web/layouts/baseof.html +++ b/web/layouts/baseof.html @@ -3,6 +3,7 @@ <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" type="text/css" href="simple.css"> <title>{{ .Site.Title }}</title> </head> <body> diff --git a/web/meson.build b/web/meson.build index 3fcffed..20a4520 100644 --- a/web/meson.build +++ b/web/meson.build @@ -1,11 +1,12 @@ +subdir('content') + custom_target('website', output: ['public'], command: [ 'hugo', - '--source', - meson.current_source_dir(), - '--destination', - meson.current_build_dir() / 'public', + '--source', meson.current_source_dir(), + '--destination', meson.current_build_dir() / 'public', + '--contentDir', meson.current_build_dir() / 'content', ], depend_files: [ 'hugo.toml', |