Navigation

Aoife provides a simple way to include site navigation in your themes. Using the {{navigation} } tag within any template file will output an unordered (<ul></ul>) HTML list of all the sections and sub-sections of your site with permalinks to their roots. For example, given the following content:

content
- about
- post
- review

The {{navigation} } tag would generate the following HTML:

<ul>
  <li><a href="http://example.com/about">about</a></li>
  <li><a href="http://example.com/post">post</a></li>
  <li><a href="http://example.com/review">review</a></li>
</ul>

Modified: Dec 8, 2016 at 23:52:28

Aoife v0.9.0 documentation