Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Moved subcategories header from index.tmpl to tagindex.tmpl where it …
- Loading branch information
|
@@ -11,14 +11,7 @@ |
|
|
{% endblock %} |
|
|
|
|
|
{% block content %} |
|
|
{% if subcategories %} |
|
|
{{ messages('Subcategories:') }} |
|
|
<ul> |
|
|
{% for name, link in subcategories %} |
|
|
<li><a href="{{ link }}">{{ name }}</a></li> |
|
|
{% endfor %} |
|
|
</ul> |
|
|
{% endif %} |
|
|
{% block content_header %}{% endblock %} |
|
|
<div class="postindex"> |
|
|
{% for post in posts %} |
|
|
<article class="h-entry post-{{ post.meta('type') }}"> |
|
|
|
|
@@ -1,6 +1,17 @@ |
|
|
{# -*- coding: utf-8 -*- #} |
|
|
{% extends 'index.tmpl' %} |
|
|
|
|
|
{% block content_header %} |
|
|
{% if subcategories %} |
|
|
{{ messages('Subcategories:') }} |
|
|
<ul> |
|
|
{% for name, link in subcategories %} |
|
|
<li><a href="{{ link }}">{{ name }}</a></li> |
|
|
{% endfor %} |
|
|
</ul> |
|
|
{% endif %} |
|
|
{% endblock %} |
|
|
|
|
|
{% block extra_head %} |
|
|
{{ super() }} |
|
|
{% if translations|length > 1 and generate_atom %} |
|
|
|
@@ -11,14 +11,7 @@ |
|
|
</%block> |
|
|
|
|
|
<%block name="content"> |
|
|
%if subcategories: |
|
|
${messages('Subcategories:')} |
|
|
<ul> |
|
|
%for name, link in subcategories: |
|
|
<li><a href="${link}">${name}</a></li> |
|
|
%endfor |
|
|
</ul> |
|
|
%endif |
|
|
<%block name="content_header"></%block> |
|
|
<div class="postindex"> |
|
|
% for post in posts: |
|
|
<article class="h-entry post-${post.meta('type')}"> |
|
|
|
|
@@ -1,6 +1,17 @@ |
|
|
## -*- coding: utf-8 -*- |
|
|
<%inherit file="index.tmpl"/> |
|
|
|
|
|
<%block name="content_header"> |
|
|
%if subcategories: |
|
|
${messages('Subcategories:')} |
|
|
<ul> |
|
|
%for name, link in subcategories: |
|
|
<li><a href="${link}">${name}</a></li> |
|
|
%endfor |
|
|
</ul> |
|
|
%endif |
|
|
</%block> |
|
|
|
|
|
<%block name="extra_head"> |
|
|
${parent.extra_head()} |
|
|
%if len(translations) > 1 and generate_atom: |
|
|