aboutsummaryrefslogtreecommitdiff
path: root/util/pages.zig
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-05-27 13:24:15 -0400
committerRosa <rosaontheweb@proton.me>2026-05-27 13:24:15 -0400
commit16e4f8f2a9ead0f79b5b275dc547b517cc8891e9 (patch)
tree79ef9796388c4b8a0f1fec99ba5d4b75f8b475f7 /util/pages.zig
parent72983cf263053cd40dafbd5f1cb63d3f0b9f1eb8 (diff)
add 404.html, remove legacy code
Diffstat (limited to '')
-rw-r--r--util/pages.zig27
1 files changed, 0 insertions, 27 deletions
diff --git a/util/pages.zig b/util/pages.zig
deleted file mode 100644
index 1881aff..0000000
--- a/util/pages.zig
+++ /dev/null
@@ -1,27 +0,0 @@
-const std = @import("std");
-
-pub const pages = [_]Page{Page{
- .source_path = "index.html",
- .template_path = "base.html",
- .replacements = &[_]Replacement{ Replacement{
- .placeholder = "{{title}}",
- .replacement = .{ .literal = "home" },
- }, Replacement{
- .placeholder = "{{body}}",
- .replacement = .{ .file_content = {} },
- } },
-}};
-
-const Page = struct {
- source_path: []const u8,
- template_path: []const u8,
- replacements: []const Replacement,
-};
-
-const Replacement = struct {
- placeholder: []const u8,
- replacement: union(enum) {
- file_content,
- literal: []const u8,
- },
-};