diff --git a/.gitignore b/.gitignore index 7c046b6..87174b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -.zig-cache -zig-out \ No newline at end of file +/public/ diff --git a/README.md b/README.md index 7c460a9..4c4c573 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Building -To build this site, you need zig +To build this site, you need zine Just clone the repository ``` @@ -10,7 +10,7 @@ cd flow-control.dev and issue ``` -zig build serve +zine ``` Then visit with your browser the site pointed by the previous command @@ -21,4 +21,4 @@ Powered by [Zine](https://zine-ssg.io/docs/) * [Monospace Web Theme](https://owickstrom.github.io/the-monospace-web/) * [Zine](https://zine-ssg.io/docs/) -* [Flow Control Editor](https://github.com/neurocyte/flow) \ No newline at end of file +* [Flow Control Editor](https://github.com/neurocyte/flow) diff --git a/install b/assets/install similarity index 100% rename from install rename to assets/install diff --git a/public.gpg b/assets/public.gpg similarity index 100% rename from public.gpg rename to assets/public.gpg diff --git a/build.zig b/build.zig deleted file mode 100644 index 7b0c08e..0000000 --- a/build.zig +++ /dev/null @@ -1,24 +0,0 @@ -const std = @import("std"); -const zine = @import("zine"); - -pub fn build(b: *std.Build) !void { - _ = zine.website(b, .{ - .title = "Flow Control: a progammer's text editor", - .host_url = "https://flow-control.dev", - .content_dir_path = "content", - .layouts_dir_path = "layouts", - .assets_dir_path = "assets", - }); - - const install_step = b.addInstallFile(b.path("install"), "install"); - b.getInstallStep().dependOn(&install_step.step); - - const install_key = b.addInstallFile(b.path("public.gpg"), "public.gpg"); - b.getInstallStep().dependOn(&install_key.step); - - const install_font = b.addInstallFile(b.path("assets/fonts/AcPlus_IBM_VGA_9x16.ttf"), "fonts/AcPlus_IBM_VGA_9x16.ttf"); - b.getInstallStep().dependOn(&install_font.step); - - const install_font2 = b.addInstallFile(b.path("assets/fonts/Iosevka-Regular.woff2"), "fonts/Iosevka-Regular.woff2"); - b.getInstallStep().dependOn(&install_font2.step); -} diff --git a/build.zig.zon b/build.zig.zon deleted file mode 100644 index 6096d27..0000000 --- a/build.zig.zon +++ /dev/null @@ -1,11 +0,0 @@ -.{ - .name = "Zine Website", - .version = "0.0.0", - .dependencies = .{ - .zine = .{ - .url = "git+https://github.com/kristoff-it/zine?ref=v0.8.0#ec0f549654a4f7183d4520227b6748bba7ade98e", - .hash = "122049c99f3faaaff159cdccb3792d1518b10534e8225e26e5b24a369d325b0ebdc5", - }, - }, - .paths = .{"."}, -} \ No newline at end of file diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml index 2e9b285..72d2469 100644 --- a/layouts/templates/base.shtml +++ b/layouts/templates/base.shtml @@ -12,7 +12,7 @@