base_side_categories is a template that puts categories on the side

This commit is contained in:
Jeff Balogh 2010-01-27 16:25:54 -08:00
Родитель d65a3d203f
Коммит 11b4bddc97
2 изменённых файлов: 21 добавлений и 6 удалений

Просмотреть файл

@ -44,13 +44,17 @@
</div>
{% endblock site_header %}
{% block navbar %}
<div class="stand-alone-options">
{% block categories %}{% include "categories.html" %}{% endblock %}
{% block search %}{% include "search.html" %}{% endblock %}
</div>
{# Overridden in base_side_categories, which expands categories
on the side of the page. #}
{% block main_content %}
{% block navbar %}
<div class="stand-alone-options">
{% include "categories.html" %}
{% include "search.html" %}
</div>
{% endblock %}
{% block content %}{% endblock %}
{% endblock %}
{% block content %}{% endblock %}
</div>
<!-- js -->

Просмотреть файл

@ -0,0 +1,11 @@
{% extends "base.html" %}
{% block main_content %}
<div class="secondary" role="complementary">
{% include "categories.html" %}
</div>
<div class="primary" role="main">
{% include "search.html" %}
{% block content %}{% endblock %}
</div>
{% endblock %}