]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/modules/news-year-nav.html
Introduce autotools
[ipfire.org.git] / src / templates / modules / news-year-nav.html
CommitLineData
7771acea
MT
1<ul class="nav nav-pills">
2 <li class="disabled">
3 <a href="#">{{ _("Jump to") }}</a>
4 </li>
5 <li {% if active is None %}class="active"{% end %}>
6 <a href="/news">{{ _("Most recent") }}</a>
7 </li>
8
9 {% for y in years %}
10 <li {% if active == y %}class="active"{% end %}>
11 <a href="/news/year/{{ y }}">{{ y }}</a>
12 </li>
13 {% end %}
14</ul>