feat/flask: change article video depending on current locale

This commit is contained in:
2025-10-04 17:13:35 +03:00
parent 1155ec24f9
commit 3ba402d792
+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>
{{ _(