mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 12:15:50 +00:00
6-layer breadcrumbs
This commit is contained in:
@@ -210,7 +210,7 @@ pages:
|
|||||||
targets:
|
targets:
|
||||||
- local
|
- local
|
||||||
|
|
||||||
- name: References
|
- name: rippled API
|
||||||
funnel: Docs
|
funnel: Docs
|
||||||
doc_type: References
|
doc_type: References
|
||||||
supercategory: rippled API
|
supercategory: rippled API
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
{% if currentpage.doc_type and currentpage != pages|selectattr('doc_type', 'equalto', currentpage.doc_type)|first%}
|
{% if currentpage.doc_type and currentpage != pages|selectattr('doc_type', 'equalto', currentpage.doc_type)|first%}
|
||||||
<li class="active breadcrumb-item"><a href="{{ (pages|selectattr('doc_type', 'equalto', currentpage.doc_type)|first).html }}">{{ currentpage.doc_type }}</a></li>
|
<li class="active breadcrumb-item"><a href="{{ (pages|selectattr('doc_type', 'equalto', currentpage.doc_type)|first).html }}">{{ currentpage.doc_type }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if currentpage.supercategory and currentpage != pages|selectattr('supercategory', 'equalto', currentpage.supercategory)|first %}
|
||||||
|
<li class="active breadcrumb-item"><a href="{{ (pages|selectattr('supercategory', 'equalto', currentpage.supercategory)|first).html }}">{{ currentpage.supercategory }}</a></li>
|
||||||
|
{% endif %}
|
||||||
{% if currentpage.category and currentpage != pages|selectattr('category', 'equalto', currentpage.category)|first %}
|
{% if currentpage.category and currentpage != pages|selectattr('category', 'equalto', currentpage.category)|first %}
|
||||||
<li class="active breadcrumb-item"><a href="{{ (pages|selectattr('category', 'equalto', currentpage.category)|first).html }}">{{ currentpage.category }}</a></li>
|
<li class="active breadcrumb-item"><a href="{{ (pages|selectattr('category', 'equalto', currentpage.category)|first).html }}">{{ currentpage.category }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user