From e05f4b47ecd0cb0dac273afc420b51768bedcc5e Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 10 Aug 2024 20:19:17 +0100 Subject: Migrate to zine 0.3.0 --- build.zig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'build.zig') 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", }); -- cgit v1.2.3-ZIG