mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Split news into sub categories
This commit is contained in:
@ -22,8 +22,8 @@
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ cat.name | uppercase }} <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu">
|
||||
{% for subcat in cat.subcategories %}
|
||||
{% if site.categories[subcat] != nil %}
|
||||
<li><a href="/category/{{ subcat }}/">{{ subcat | uppercase }}</a></li>
|
||||
{% if site.categories[subcat.name] != nil %}
|
||||
<li><a href="/category/{{ subcat.name }}/">{{ subcat.title | uppercase }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user