translatable masthead

This commit is contained in:
Plailect 2017-01-15 17:45:29 -05:00 committed by Plailect
parent af62887872
commit 575363f500
No known key found for this signature in database
GPG key ID: F8A415C5EA602A41
2 changed files with 6 additions and 10 deletions

View file

@ -1,25 +1,21 @@
# main links links
main:
# translation urls should be /<locale>/<file> (i.e.: /es_ES/credits)
# see https://github.com/Plailect/Guide/tree/l10n/_pages for locale codes
# each language should be separated by a blank line
en_US:
- title: "FAQ"
url: /faq
- title: "Troubleshooting"
url: /troubleshooting
- title: "Donations"
url: /donations
- title: "Credits"
url: /credits
- title: "Updating A9LH"
url: /updating-a9lh
- title: "Region Changing"
url: /region-changing
- title: "NAND Size"
url: /nand-size
- title: "Site Navigation"
url: /site-navigation

View file

@ -4,7 +4,7 @@
<nav id="site-nav" class="greedy-nav">
<ul class="visible-links">
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
{% for link in site.data.navigation.main %}
{% for link in site.data.navigation.en_US %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}