1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

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/
This commit is contained in:
kellerwhy 2015-08-10 23:16:23 -04:00
parent 706feeddff
commit d4dcfc6321

View File

@ -11,7 +11,7 @@
{% else %} {% else %}
{% set thread = post.thread %} {% set thread = post.thread %}
{% endif %} {% 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 }} {{ post.built }}
</div> </div>
{% endfor %} {% endfor %}