mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Fix random order in the menus in older jekyll versions
This commit is contained in:
parent
f8d41f646a
commit
b1c3c0d0ce
3 changed files with 80 additions and 46 deletions
|
@ -1,19 +1,31 @@
|
|||
---
|
||||
lang: en
|
||||
menufor:
|
||||
bitcoin-for-individuals: Individuals
|
||||
bitcoin-for-businesses: Businesses
|
||||
bitcoin-for-developers: Developers
|
||||
bitcoin-for-enthusiasts: Enthusiasts
|
||||
bitcoin-for-press: Press
|
||||
- id: bitcoin-for-individuals
|
||||
text: Individuals
|
||||
- id: bitcoin-for-businesses
|
||||
text: Businesses
|
||||
- id: bitcoin-for-developers
|
||||
text: Developers
|
||||
- id: bitcoin-for-enthusiasts
|
||||
text: Enthusiasts
|
||||
- id: bitcoin-for-press
|
||||
text: Press
|
||||
menu:
|
||||
how-it-works: How it works
|
||||
vocabulary: Vocabulary
|
||||
resources: Resources
|
||||
community: Community
|
||||
development: Development
|
||||
foundation: Foundation
|
||||
about: About
|
||||
- id: how-it-works
|
||||
text: How it works
|
||||
- id: vocabulary
|
||||
text: Vocabulary
|
||||
- id: resources
|
||||
text: Resources
|
||||
- id: community
|
||||
text: Community
|
||||
- id: development
|
||||
text: Development
|
||||
- id: foundation
|
||||
text: Foundation
|
||||
- id: about
|
||||
text: About
|
||||
button:
|
||||
wallet: Choose your wallet
|
||||
know: You need to know
|
||||
|
@ -58,13 +70,13 @@ footer: © Bitcoin Project 2009–2013 Released under the <a href="http://creati
|
|||
<a id="logo" href="/{{ page.lang }}/"><img src="/img/logotop.svg" alt="Bitcoin"></a>
|
||||
<a href="#" id="menumobile" onclick="mobileshow(event);"></a>
|
||||
<ul id="menufor">
|
||||
{% for link in page.menufor %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menufor %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul id="menu">
|
||||
{% for link in page.menu %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menu %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div></div>
|
||||
|
|
|
@ -1,18 +1,29 @@
|
|||
---
|
||||
lang: es
|
||||
menufor:
|
||||
bitcoin-for-individuals: Personas
|
||||
bitcoin-for-businesses: Empresas
|
||||
bitcoin-for-developers: Desarrolladores
|
||||
bitcoin-for-enthusiasts: Entusiastas
|
||||
- id: bitcoin-for-individuals
|
||||
text: Personas
|
||||
- id: bitcoin-for-businesses
|
||||
text: Empresas
|
||||
- id: bitcoin-for-developers
|
||||
text: Desarrolladores
|
||||
- id: bitcoin-for-enthusiasts
|
||||
text: Entusiastas
|
||||
menu:
|
||||
how-it-works: Como funciona
|
||||
vocabulary: Vocabulario
|
||||
resources: Recursos
|
||||
community: Comunidad
|
||||
development: Desarrollo
|
||||
foundation: Fundación
|
||||
about: Acerca de
|
||||
- id: how-it-works
|
||||
text: Como funciona
|
||||
- id: vocabulary
|
||||
text: Vocabulario
|
||||
- id: resources
|
||||
text: Recursos
|
||||
- id: community
|
||||
text: Comunidad
|
||||
- id: development
|
||||
text: Desarrollo
|
||||
- id: foundation
|
||||
text: Fundación
|
||||
- id: about
|
||||
text: Acerca de
|
||||
button:
|
||||
wallet: Elige tu monedero
|
||||
know: Debes saber
|
||||
|
@ -57,13 +68,13 @@ footer: © Bitcoin Project 2009–2013 Publicado bajo la <a href="http://creativ
|
|||
<a id="logo" href="/{{ page.lang }}/"><img src="/img/logotop.svg" alt="Bitcoin"></a>
|
||||
<a href="#" id="menumobile" onclick="mobileshow(event);"></a>
|
||||
<ul id="menufor">
|
||||
{% for link in page.menufor %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menufor %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul id="menu">
|
||||
{% for link in page.menu %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menu %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div></div>
|
||||
|
|
|
@ -1,18 +1,29 @@
|
|||
---
|
||||
lang: fr
|
||||
menufor:
|
||||
bitcoin-for-individuals: Particuliers
|
||||
bitcoin-for-businesses: Entreprises
|
||||
bitcoin-for-developers: Développeurs
|
||||
bitcoin-for-enthusiasts: Passionnés
|
||||
- id: bitcoin-for-individuals
|
||||
text: Particuliers
|
||||
- id: bitcoin-for-businesses
|
||||
text: Entreprises
|
||||
- id: bitcoin-for-developers
|
||||
text: Développeurs
|
||||
- id: bitcoin-for-enthusiasts
|
||||
text: Passionnés
|
||||
menu:
|
||||
how-it-works: Comment ça marche
|
||||
vocabulary: Vocabulaire
|
||||
resources: Ressources
|
||||
community: Communauté
|
||||
development: Développement
|
||||
foundation: Fondation
|
||||
about: À propos
|
||||
- id: how-it-works
|
||||
text: Comment ça marche
|
||||
- id: vocabulary
|
||||
text: Vocabulaire
|
||||
- id: resources
|
||||
text: Ressources
|
||||
- id: community
|
||||
text: Communauté
|
||||
- id: development
|
||||
text: Développement
|
||||
- id: foundation
|
||||
text: Fondation
|
||||
- id: about
|
||||
text: À propos
|
||||
button:
|
||||
wallet: Choisissez votre porte-monnaie
|
||||
know: Vous devez savoir
|
||||
|
@ -57,13 +68,13 @@ footer: © Bitcoin Project 2009–2013 Publié sous la <a href="http://creativec
|
|||
<a id="logo" href="/{{ page.lang }}/"><img src="/img/logotop.svg" alt="Bitcoin"></a>
|
||||
<a href="#" id="menumobile" onclick="mobileshow(event);"></a>
|
||||
<ul id="menufor">
|
||||
{% for link in page.menufor %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menufor %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<ul id="menu">
|
||||
{% for link in page.menu %}{% assign id = link[0]%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link[1] }}</a></li>
|
||||
{% for link in page.menu %}{% assign id = link.id%}{% capture fullurl %}{{ '/' | append:page.lang | append:'/' | append:site.section[id][page.lang] | append:'.html' }}{% endcapture %}
|
||||
<li{% if page.url == fullurl %} class="active"{% endif %}><a href="/{{ page.lang }}/{{ site.section[id][page.lang] }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue