Browse Source

Fix flags not rendering because of Twig weirdness

pull/89/head
zeke 4 months ago
parent
commit
264a3c6c60
  1. 4
      templates/post/flag.html

4
templates/post/flag.html

@ -1,6 +1,6 @@
{% if config.display_flags and post.modifiers.flag %}
<img
class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}"
<img class="flag"
src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}"
style="{% if post.modifiers['flag style'] %}
{{ post.modifiers['flag style'] }}
{% else %}

Loading…
Cancel
Save