aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/base/templates/sectionindex.tmpl
blob: 7fb4f1ef288d96b303c0d38a0b8e77fdda6051ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
## -*- coding: utf-8 -*-
<%inherit file="index.tmpl"/>

<%block name="extra_head">
    ${parent.extra_head()}
    % if generate_atom:
        <link rel="alternate" type="application/atom+xml" title="Atom for the ${posts[0].section_name()|h} section" href="${_link('section_index_atom', posts[0].section_slug())}">
    % endif
</%block>

<%block name="content">
<div class="sectionindex">
    <header>
        <h2><a href="${_link('section_index', posts[0].section_slug())}">${title|h}</a></h2>
        % if generate_atom:
            <p class="feedlink"><a href="${_link('section_index_atom', posts[0].section_slug())}" type="application/atom+xml">${messages('Updates')}</a></p>
        % endif
    </header>    
    ${parent.content()}
</div>
</%block>