Commit d06dc76f authored by fred's avatar fred

topiks: display top page name as meta in sidebar

parent 921f77a6
...@@ -25,10 +25,10 @@ ...@@ -25,10 +25,10 @@
{% if page.public and not page.exclude_from_navigation %} {% if page.public and not page.exclude_from_navigation %}
{% if page.has_children %} {% if page.has_children %}
{% for subpage in page.get_children %} {% for subpage in page.get_children %}
{% include "combo/topik_menu_item.html" with page=subpage only %} {% include "combo/topik_menu_item.html" with page=subpage category=page.title only %}
{% endfor %} {% endfor %}
{% else %} {% else %}
{% include "combo/topik_menu_item.html" with page=page only %} {% include "combo/topik_menu_item.html" with page=page category="Topik" only %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<h5 class="title"><a href="{{page.get_online_url}}">{{page.title}}</a></h5> <h5 class="title"><a href="{{page.get_online_url}}">{{page.title}}</a></h5>
</div> </div>
<div class="smooth metas"> <div class="smooth metas">
<span class="categories">{{page.title}}</span> <span class="categories">{{category}}</span>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment