personal-website/themes/custom/templates/archiveindex.tmpl

14 lines
596 B
Cheetah
Raw Normal View History

## -*- coding: utf-8 -*-
<%inherit file="index.tmpl"/>
<%block name="extra_head">
${parent.extra_head()}
%if len(translations) > 1 and generate_atom:
%for language in sorted(translations):
<link rel="alternate" type="application/atom+xml" title="Atom for the ${archive_name} section (${language})" href="${_link("archive_atom", archive_name, language)}">
%endfor
%elif generate_atom:
<link rel="alternate" type="application/atom+xml" title="Atom for the ${archive_name} archive" href="${_link("archive_atom", archive_name)}">
%endif
</%block>