diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/gen.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen.zig b/src/gen.zig index 79a3ea8..ec26295 100644 --- a/src/gen.zig +++ b/src/gen.zig @@ -389,7 +389,7 @@ fn ref_link(allocator: std.mem.Allocator, w: std.io.AnyWriter, refname: []const const page = try Page.from_ref(allocator, refname); defer page.deinit(); - try w.print("/{s}", .{page.html}); + try w.print("/{s}{s}", .{ page.html, page.anchor }); } fn ref_name(allocator: std.mem.Allocator, w: std.io.AnyWriter, refname: []const u8) anyerror!void { |