[bisq-network/bisq-website] New multilanguage system (#260)
erciccione
notifications at github.com
Fri Oct 4 10:42:15 UTC 2019
erciccione commented on this pull request.
> <div class="dropdown-item btn-icon">
<div class="float-right">
- <a href="{{ page.url }}" hreflang="{{ page.lang }}">{{ page.language }} {{ page.flag }}</a>
+ {% if item.tag == "en" %}
+ <a href="/">{{ item.name }} {{ item.flag }}</a>
+ {% else %}
+ <!-- we use the 'tag' variable in languages.yml to redirect to the correct page -->
+ <a href="/{{ item.tag}}/" hreflang="{{ site.lang }}">{{ item.name }} {{ item.flag }}</a>
Just pushed the fix for this.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq-website/pull/260#discussion_r331442287
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191004/463f7d5c/attachment-0001.html>
More information about the bisq-github
mailing list