aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
committerMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
commite05f4b47ecd0cb0dac273afc420b51768bedcc5e (patch)
tree5d6dac85388af71e30a032670f3b9622e6535604 /build.zig
parent8a0464bcf2582084bd765f67de6f283545af2c7d (diff)
downloadmfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.gz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.bz2
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.xz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.zip
Migrate to zine 0.3.0
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig8
1 files changed, 6 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 3544a38..e755877 100644
--- a/build.zig
+++ b/build.zig
@@ -2,10 +2,14 @@ const std = @import("std");
const zine = @import("zine");
pub fn build(b: *std.Build) !void {
- try zine.addWebsite(b, .{
+ zine.website(b, .{
.layouts_dir_path = "layouts",
.content_dir_path = "content",
- .static_dir_path = "static",
+ .assets_dir_path = "assets",
+ .static_assets = &.{
+ "static/css/fonts.css",
+ "static/css/style.css",
+ },
.host_url = "https://mfashby.net",
.title = "mfashby.net",
});