feat/flask: change article video depending on current locale

This commit is contained in:
2025-10-04 17:13:35 +03:00
parent 8dd117af6b
commit 113cdf8f4d
+5 -1
View File
@@ -8,7 +8,11 @@
) | safe }}
</p>
<iframe src="https://www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
{% if g.locale == 'ru' %}
<iframe src="https://www.youtube.com/embed/IEi25wYyj20" allowfullscreen="true"></iframe>
{% else %}
<iframe src="https://www.youtube.com/embed/SATYQyIcimM" allowfullscreen="true"></iframe>
{% endif %}
<p>
{{ _(