diff options
author | Wolfgang Müller | 2021-08-13 13:57:38 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-08-13 14:07:45 +0200 |
commit | 6ae65265b707f73a573a2da8918f02117eaa3120 (patch) | |
tree | 1cf322659339cc06e4c9a7b6d717289317915d83 /static/icon.svg | |
parent | 417ea38248e7a716bdeada3bde3c9063fba558da (diff) | |
download | zunzuncito-6ae65265b707f73a573a2da8918f02117eaa3120.tar.gz |
templates: Fix permalink content for mentioned posts
A regular posts indicates its permalink with a section sign. However,
for mentioned posts we'd like to be explicit about the post number,
since we may refer to them this way in the parent post.
This behaviour should have been working since day one in ad2be2b
(Initial commit, 2021-06-12), but it was subtly broken. Since the
render_post macro does not have access to the 'mention' variable, only
the section sign would ever be used to indicate a permalink.
This probably happened because the rendering code for a post used to
live in the post template instead of a macro.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions