[bisq-network/bisq-website] New multilanguage system (#260)

wiz notifications at github.com
Tue Oct 8 12:19:59 UTC 2019


wiz 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 -->

please remove this comment, it's getting output in the source code once per locale

-- 
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#pullrequestreview-298720054
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191008/38e7a660/attachment.html>


More information about the bisq-github mailing list