Commit f972da7d authored by Administrator's avatar Administrator 💬

Fix the multilingual option's flag.

Babel fishes are awesome.
Using flags for languages is somewhat offensive,
since it's a gross, unfair simplification.
We'll remove the flags later.
parent e9db60b8
......@@ -51,10 +51,10 @@
<li>
<a href="{{ '/polyglot-columns' ~ uri.path }}">
{% if language_display.select == 'default' or language_display.select == 'flag' %}
<img alt="Rosetta" src="fr.png" />
<img alt="Rosetta" src="/{{ grav.locator.findResource('plugin://m3-p2/flags/xx.png', false) }}" />
{% endif %}
{% if language_display.select == 'default' or language_display.select == 'name' %}
Rosetta
Multilingual
{% endif %}
</a>
</li>
......
{% extends 'partials/base.html.twig' %}
{# page is irrelevant here #}
{# use target_page, injected by m3-p2 plugin #}
{# `page` is irrelevant here #}
{# use `target_page`, injected by m3-p2 plugin #}
{% block stylesheets %}
{% do assets.addCss('theme://css/columns.css') %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment