mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #307 from kriwil/header-category-link
Fixed hardcoded category url in base.html in default themes
This commit is contained in:
commit
51d0e83a21
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for cat, null in categories %}
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/category/{{ cat }}.html">{{ cat }}</a></li>
|
||||
<li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></nav>
|
||||
</header><!-- /#banner -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue