ugghhhh new site_path config option

This commit is contained in:
2026-05-30 20:05:01 +01:00
parent 6e7d2109c8
commit f11b94527d
23 changed files with 91 additions and 89 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<%= func.unix_time_to_date_format(comment.pubdate) %>
</span>
<span id='comment-id' style='display: inline'>
<a href='<%= config.site_url %>/comment/<%= postID %>-<%= comment.id %>'>No. <%= postID %>-<%= comment.id %></a>:<br/>
<a href='<%= config.site_path %>/comment/<%= postID %>-<%= comment.id %>'>No. <%= postID %>-<%= comment.id %></a>:<br/>
</span>
<span id='comment-content'>
<%- func.render_comment(comment.content) %>
+1 -1
View File
@@ -1,4 +1,4 @@
<a id='site-index-link' href="<%= config.site_url %>/index/pages"><%= locale.site_index %></a><br/>
<a id='site-index-link' href="<%= config.site_path %>/index/pages"><%= locale.site_index %></a><br/>
<%= locale.site_ran_by %> <%= config.site_admin %><br/>
<%- locale.attribution %><br/>
<%= locale.AI_consent %> <!-- remove consent for AI scrapers -->
+3 -3
View File
@@ -1,10 +1,10 @@
<meta charset="<%- config.charset %>">
<meta name='robots' content='noindex'>
<title><%= config.site_name %></title>
<title><%= config.site_path %></title>
<style>
</style>
<link rel="stylesheet" href="<%= config.site_url %>/default.css">
<link rel="stylesheet" href="<%= config.site_url %>/custom.css">
<link rel="stylesheet" href="<%= config.site_path %>/default.css">
<link rel="stylesheet" href="<%= config.site_path %>/custom.css">