translatable masthead
This commit is contained in:
parent
b024cd13f6
commit
337d122590
2 changed files with 6 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue