support for slugified links; may introduce a few bugs

This commit is contained in:
czaks 2015-03-10 12:48:59 +01:00
parent eb245c2970
commit bdb6001f3f
18 changed files with 145 additions and 43 deletions

View file

@ -63,7 +63,7 @@
{% else %}
{% set thread = post.id %}
{% endif %}
<a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ config.file_page|sprintf(thread) }}#{{ post.id }}">
<a href="?/{{ post.board ~ '/' ~ config.dir.res}}{{ link_for(post) }}#{{ post.id }}">
{{ post.id }}
</a>
</td>