summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/mod/debug/recent_posts.html2
-rw-r--r--templates/mod/search_results.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/mod/debug/recent_posts.html b/templates/mod/debug/recent_posts.html
index 740ed21e..13eb4d5a 100644
--- a/templates/mod/debug/recent_posts.html
+++ b/templates/mod/debug/recent_posts.html
@@ -24,7 +24,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="{{ config.root ~ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>
diff --git a/templates/mod/search_results.html b/templates/mod/search_results.html
index aeaf57b0..de753198 100644
--- a/templates/mod/search_results.html
+++ b/templates/mod/search_results.html
@@ -195,7 +195,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
- <a href="{{ config.root ~ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
+ <a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>