about summary refs log tree commit diff
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.zig10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/main.zig b/src/main.zig
index 6ef6413..ef4e592 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -261,12 +261,10 @@ fn build(allocator: std.mem.Allocator, f: std.fs.File, page_name: []const u8, sr
         .SOURCE_URL = SOURCE_URL,
     });
 
-    const n = f.getPos() catch 0;
-    if (n > 5000)
-        try f.writer().writeAll(
-            \\<a href="#top">[&#9206;]</a>
-            \\
-        );
+    try f.writer().writeAll(
+        \\<a href="#top">[&#9206;]</a>
+        \\
+    );
 
     try f.writer().writeAll(
         \\</body>