i
This commit is contained in:
13
docs/_includes/navigation.html
Normal file
13
docs/_includes/navigation.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% assign default_paths = site.pages | map: "path" %}
|
||||
{% assign page_paths = site.header_pages | default: default_paths %}
|
||||
|
||||
{% for path in page_paths %}
|
||||
|
||||
{% assign page = site.pages | where: "path", path | first %}
|
||||
|
||||
{% if page.title %}
|
||||
<a href="{{ page.url }}">{{ page.title }}</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user