summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2015-08-11 05:25:20 +0200
committerMarcin Łabanowski <marcin@6irc.net>2015-08-11 05:25:20 +0200
commit63e88e247479c0f5e067080f7280fffaa9546297 (patch)
treecf0d51851c8ce87064be53936770b182aef5c6b3
parent706feeddff55ecafc397137dbc005890fdef963d (diff)
parentd4dcfc6321eac2433441db91102356eb10f7afab (diff)
Merge pull request #161 from kellerwhy/patch-1
Make mod/recent_posts.html respect $config['dir']['res']
-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 %}