diff options
| author | kellerwhy <kellerwhy@gmail.com> | 2015-08-10 23:16:23 -0400 |
|---|---|---|
| committer | kellerwhy <kellerwhy@gmail.com> | 2015-08-10 23:16:23 -0400 |
| commit | d4dcfc6321eac2433441db91102356eb10f7afab (patch) | |
| tree | cf0d51851c8ce87064be53936770b182aef5c6b3 /templates/mod | |
| parent | 706feeddff55ecafc397137dbc005890fdef963d (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/mod')
| -rw-r--r-- | templates/mod/recent_posts.html | 2 |
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 %}
|
