Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (26 sloc) 560 Bytes
---
---
[
{% for nav in site.data.navbar.assigned %}
{
"title": "{{ nav.text }}",
"permalink": "{{ nav.permalink }}",
"href": "{{ nav.href }}"
{% if nav.children %},
"children": [
{% for child in nav.children %}
{
"title": "{{ child.text }}",
"permalink": "{{ child.permalink }}",
"href": "{{ child.href }}"
} {% if forloop.rindex != 1 %}, {% endif %}
{% endfor %}
]
{% endif %}
},
{% endfor %}
{
"title": "Navigation bar data",
"href": "_data/navbar.yml"
}
]
You can’t perform that action at this time.