Bitcoin.org/_includes/layout/base/breadcrumbs.html
2018-03-20 10:53:12 +01:00

44 lines
2.7 KiB
HTML

{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}
<div class="breadcrumbs">
<div class="container">
{% for crumb in page.breadcrumbs %} {% if forloop.last %} {% case crumb %} {% when "GLOSSARY_ENTRY_TITLE" %} {% comment %}
## Only show first synonym in crumb ## {% endcomment %} {% for synonym in page.required.synonyms_shown_in_glossary_capitalize_first_letter
%} {% if forloop.first %}{{synonym}}{% endif %} {% endfor %} {% when "RELEASE" %} {% comment %}
<!-- for Bitcoin Core releases, show the version number -->{% endcomment %} {{page.required_version}} {% when "dev docs" %}{% translate pagetitle developer-documentation %} {% when
"dev docs glossary" %}{% translate docreferencemenuglossary developer-documentation %} {% when "dev docs examples" %}{%
translate docreferencemenuexamples developer-documentation %} {% when "dev docs guides" %}{% translate docreferencemenuguides
developer-documentation %} {% when "dev docs reference" %}{% translate docreferencemenureference developer-documentation
%} {% else %}{{crumb}} {% endcase %} {% else %} {% case crumb %} {% comment %}/// Alphabetical order by crumb \\\{% endcomment
%} {% when "bcc" %}
<a href="/en/bitcoin-core/">Core</a>
{% when "bcc contribute" %}
<a href="/en/bitcoin-core/contribute/">Contribute</a>
{% when "bcc documentation" %}
<a href="/en/bitcoin-core/help#documentation">Documentation</a>
{% when "bcc features" %}
<a href="/en/bitcoin-core/features/">Features</a>
{% when "bcc help" %}
<a href="/en/bitcoin-core/help">Help</a>
{% when "bcc news" %}
<a href="/en/version-history">News</a>
{% when "bitcoin" %}
<a href="/{{ page.lang }}/">{% translate bitcoin vocabulary %}</a>
{% when "dev docs" %}
<a href="/{{ page.lang }}/developer-documentation">{% translate pagetitle developer-documentation %}</a>
{% when "dev docs glossary" %}
<a href="/{{ page.lang }}/developer-glossary">{% translate docreferencemenuglossary developer-documentation %}</a>
{% when "dev docs examples" %}
<a href="/{{ page.lang }}/developer-examples">{% translate docreferencemenuexamples developer-documentation %}</a>
{% when "dev docs guides" %}
<a href="/{{ page.lang }}/developer-guides">{% translate docreferencemenuguides developer-documentation %}</a>
{% when "dev docs reference" %}
<a href="/{{ page.lang }}/developer-reference">{% translate docreferencemenureference developer-documentation %}</a>
{% else %}{% die "Breadcrumb not found in _includes/layout/breadcrumbs.html" %} {% endcase %} &gt; {% endif %} {% endfor
%}
</div>
</div>