Browse Source

Fix flags not rendering because of Twig weirdness

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

6
templates/post/flag.html

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

Loading…
Cancel
Save