Skip to content
Snippets Groups Projects
Commit 12b56d9f authored by William Light's avatar William Light
Browse files

add DISPLAY_PAGES_ON_MENU support

parent 13388c62
Branches
No related tags found
No related merge requests found
......@@ -25,9 +25,12 @@
{%- block ephemeral_nav %}{%- endblock %}
<li {%- if output_file == "index.html" %} class="selected"{% endif %}><a href="{{ SITEURL }}">Home</a></li>
{% if DISPLAY_PAGES_ON_MENU -%}
{% for page in PAGES -%}
<li {%- if output_file == page.url %} class="selected"{% endif %}><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor -%}
{% endif -%}
<li {%- if output_file == "archives.html" %} class="selected"{% endif %}><a href="{{ SITEURL }}/archives.html">Archives</a></li>
</ul>
<div class="header_box">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment