fixing missing fav block from reactions
Peter Molnar hello@petermolnar.eu
Wed, 28 Jun 2017 11:37:06 +0000
1 files changed,
15 insertions(+),
0 deletions(-)
jump to
M
block_reaction.html
→
block_reaction.html
@@ -36,3 +36,18 @@ </span>
{% endif %} {% endfor %} {% endif %} + +{% if post.reactions.fav %} + {% for reaction in post.reactions.fav %} + {% if post.title|length %} + <span class="p-name">{{ post.title }}</span><br /> + <svg class="icon"><use xlink:href="#icon-repost" /></svg> + <a href="{{ reaction }}" class="u-favorite-of" title="Favorite of: {{ reaction }}">{{ reaction }}</a> + {% else %} + <svg class="icon"><use xlink:href="#icon-repost" /></svg> + <span class="p-name"> + <a href="{{ reaction }}" class="u-favorite-of" title="Favorite of: {{ reaction }}">{{ reaction }}</a> + </span> + {% endif %} + {% endfor %} +{% endif %}