1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-11 23:55:16 +01:00

automatic category list

This commit is contained in:
Matthias Kretschmann 2015-06-08 21:34:52 +02:00
parent cee7bdc70c
commit ca19d304e4

View File

@ -16,11 +16,11 @@
</svg> </svg>
</button> </button>
<div class="nav-popover hide"> <div class="nav-popover hide">
<a class="nav-link goodies" href="/goodies/">goodies</a> {% for category in site.categories %}
<a class="nav-link photos" href="/photos/">photos</a> <a class="nav-link" href="/{{ category | first }}/">
<a class="nav-link personal" href="/personal/">personal</a> {{ category | first }}
<a class="nav-link design" href="/design/">design</a> </a>
<a class="nav-link photography" href="/photography/">photography</a> {% endfor %}
</div> </div>
</nav> </nav>