fixed issues with site urls not being a site root (hopefully)

This commit is contained in:
2026-05-30 18:34:18 +01:00
parent 4955ebe7bd
commit dd317883be
17 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
<body>
<% for (let postID = 0; postID < posts.length; postID++) { %>
<% if (posts[postID]["deleted"] != true) { %>
<a href="/post/<%= postID %>"><%= posts[postID]["title"] %></a><br/>
<a href="<%= config.site_url %>/post/<%= postID %>"><%= posts[postID]["title"] %></a><br/>
<% }; %>
<% }; %>
</body>