Commit 9f28f39e authored by fred's avatar fred

display navigation menus in fiber pages

parent 069f7f95
......@@ -517,3 +517,23 @@ ul#search-results li.next-page {
margin-right: 0;
font-style: italic;
}
div#fiber-nav ul,
div#fiber-nav li {
display: inline-block;
padding: 0.5ex 1ex;
}
div#fiber-nav > ul {
display: block;
margin: auto 0;
text-align: center;
}
div#fiber-nav li.current > a {
font-weight: bold;
}
div#fiber-content {
padding-top: 1ex;
}
{% extends "base.html" %}
{% load fiber_tags %}
{% block player-class %}small-player{% endblock %}
{% block nav %}
<div id="fiber-nav">
{% show_menu "main-menu" 1 1 "all" %}
{% show_menu "main-menu" 2 3 "all_descendants" %}
</div>
{% endblock %}
{% block main %}
<h3>{{ fiber_page.title }}</h3>
<div id="fiber-content" class="wrapper">
<h2>{{ fiber_page.title }}</h2>
{% show_page_content "main" %}
</div>
{% endblock %}
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