base_side_categories is a template that puts categories on the side
This commit is contained in:
Родитель
d65a3d203f
Коммит
11b4bddc97
|
@ -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 %}
|
Загрузка…
Ссылка в новой задаче