diff options
author | Martin Ashby <martin@ashbysoft.com> | 2024-08-10 20:19:17 +0100 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2024-08-10 20:19:17 +0100 |
commit | e05f4b47ecd0cb0dac273afc420b51768bedcc5e (patch) | |
tree | 5d6dac85388af71e30a032670f3b9622e6535604 /build.zig | |
parent | 8a0464bcf2582084bd765f67de6f283545af2c7d (diff) | |
download | mfashby.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.zig | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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", }); |