summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorkellerwhy <kellerwhy@gmail.com>2015-08-10 23:16:23 -0400
committerkellerwhy <kellerwhy@gmail.com>2015-08-10 23:16:23 -0400
commitd4dcfc6321eac2433441db91102356eb10f7afab (patch)
treecf0d51851c8ce87064be53936770b182aef5c6b3 /templates
parent706feeddff55ecafc397137dbc005890fdef963d (diff)
Make mod/recent_posts.html respect $config['dir']['res']
So certain links don't keep linking to /board/res/postnumber despite any changes to $config['dir']['res'] e.g. changing res/ to thread/
Diffstat (limited to 'templates')
-rw-r--r--templates/mod/recent_posts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html
index b9c2c0cc..cb4f1726 100644
--- a/templates/mod/recent_posts.html
+++ b/templates/mod/recent_posts.html
@@ -11,7 +11,7 @@
{% else %}
{% set thread = post.thread %}
{% endif %}
- <div class="post-wrapper" data-board="{{ post.board }}"><hr/><a class="eita-link" id="eita-{{ post.board }}-{{ thread }}" href="?/{{ post.board }}/res/{{ thread }}.html#{{ post.id }}">/{{ post.board }}/{{ post.id }}</a><br>
+ <div class="post-wrapper" data-board="{{ post.board }}"><hr/><a class="eita-link" id="eita-{{ post.board }}-{{ thread }}" href="?/{{ post.board }}/{{ config.dir.res }}{{ thread }}.html#{{ post.id }}">/{{ post.board }}/{{ post.id }}</a><br>
{{ post.built }}
</div>
{% endfor %}