mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-21 21:19:36 +01:00
Prevent double / in templates/post/flag
This commit is contained in:
parent
8763cc9327
commit
c6f6dae87f
@ -3,7 +3,7 @@
|
||||
{% if config.country_flags_condensed %}
|
||||
class="flag flag-{{ post.modifiers.flag }}" src="{{ config.image_blank }}"
|
||||
{% else %}
|
||||
class="flag" src="{{ config.root }}{{ config.uri_flags|sprintf(post.modifiers.flag) }}"
|
||||
class="flag" src="{% if config.root != '/' %}{{ config.root }}{% endif %}{{ config.uri_flags|sprintf(post.modifiers.flag) }}"
|
||||
{% endif %}
|
||||
style="{% if post.modifiers['flag style'] %}
|
||||
{{ post.modifiers['flag style'] }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user