We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5909da1 commit 4a2f4f8Copy full SHA for 4a2f4f8
1 file changed
_includes/header.html
@@ -8,10 +8,12 @@ <h1><a href="{{ site.baseurl }}/index.html">{{ site.title }}</a></h1>
8
<div id="menu">
9
<ul>
10
<li><a href="index.html">Home</a></li>
11
- {% for my_page in site.pages %}
12
- {% if my_page.title and post.categories not contains 'wiki' %}
13
- <li><a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
14
- {% endif %}
+ {% for category in site.categories %}
+ {% for my_page in category %}
+ {% if my_page.title %}
+ <li>{{ category }}<a href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a></li>
15
+ {% endif %}
16
+ {% endfor %}
17
{% endfor %}
18
<li><a href="#">Sign Up</a></li>
19
<li><a href="#">Log In</a></li>
0 commit comments