- <div class='container'>
- <div class='header'>
- <div class="mainlogo">
- {% if APP.logo %}
- <a href="{{ APP.index_url }}" title="{{ APP.title }}">
- <img src="{{ APP.logo.get_absolute_url }}" alt="{{ APP.title }}" />
- </a>
- {% else %}
- <h1>{{ APP.title }}</h1>
- {% endif %}
- </div>
- <div class="navigation">
- <ul class="mainnav inline">
- {% block page.nav %}
- {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
- {% for p in sublevel %}
- <li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}">
- <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
- {% endfor %}
- {% endblock %}
- </ul>
- <ul class="mainnav inline subnav">
- {% block page.subnav %}
- {% if feincms_page.override_url != "/" %}
- {% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
- {% for p in sublevel %}
- <li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}">
- <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
- {% endfor %}
- {% endif %}
- {% endblock %}
- </ul>
- </div>
- </div>
- {% if messages %}
- <ul class="messages">
- {% for message in messages %}
- <li{% if message.tags %}
- class="{{ message.tags }}"{% endif %}>
- {{ message }}</li>
- {% endfor %}
- </ul>
- {% endif %}
- <div class="page">
- {% block page.body %}
- {% endblock %}
- </div>
+
+ <div class="container">
+ <div class="wrapper">
+ <div class="mainlogo">
+ {% if APP.logo %}
+ <h1>
+ <a href="{{ APP.index_url }}" title="{{ APP.title }}">
+ <img src="{{ APP.logo.get_absolute_url }}" alt="{{ APP.title }}" />
+ </a>
+ </h1>
+ {% else %}
+ <h1>{{ APP.title }}</h1>
+ {% endif %}
+ </div>
+ <div class="navigation">
+ <ul>
+ {% block page.nav %}
+ {% feincms_navigation of feincms_page as sublevel level=2,depth=1 %}
+ {% for p in sublevel %}
+ <li class="{% if p|is_equal_or_parent_of:feincms_page %}active{% endif %}">
+ <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
+ {% endfor %}
+ {% endblock %}
+ </ul>
+ <ul>
+ {% block page.subnav %}
+ {% if feincms_page.override_url != "/" %}
+ {% feincms_navigation of feincms_page as sublevel level=3,depth=1 %}
+ {% for p in sublevel %}
+ <li class="{% if p|is_equal_or_parent_of:feincms_page or p.url == request.path %}active{% endif %}">
+ <a href="{{ p.get_absolute_url }}">{{ p.title }}</a></li>
+ {% endfor %}
+ {% endif %}
+ {% endblock %}
+ </ul>
+ </div>
+ <div class="content">
+ {% block page.body %}
+ {% endblock %}
+ </div>
+ </div>