diff options
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig index 10eead9..3e2fa7e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -7,8 +7,8 @@ const c = @cImport({ }); const PAGE_PATH = "src/inc"; -const SITE_ROOT = "."; const SITE_PATH = "site"; +const LINK_PATH = "links"; const SITE_NAME = "gzr.im"; const LICENSE_HOLDER = "robertgzr"; @@ -259,7 +259,7 @@ fn meta(ctx: *Context, p: []const u8) !void { const dstname = p[11..dot.?]; const srcpath = try joinIn(ctx.allocator, &.{PAGE_PATH}, &.{p}); defer ctx.allocator.free(srcpath); - const dstpath = try joinIn(ctx.allocator, &.{SITE_ROOT}, &.{ "~", dstname }); + const dstpath = try joinIn(ctx.allocator, &.{LINK_PATH}, &.{ "~", dstname }); defer ctx.allocator.free(dstpath); const link = blk: { |