diff options
Diffstat (limited to 'nikola/data/themes/base/templates/authorindex.tmpl')
| -rw-r--r-- | nikola/data/themes/base/templates/authorindex.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nikola/data/themes/base/templates/authorindex.tmpl b/nikola/data/themes/base/templates/authorindex.tmpl new file mode 100644 index 0000000..34cb20b --- /dev/null +++ b/nikola/data/themes/base/templates/authorindex.tmpl @@ -0,0 +1,13 @@ +## -*- coding: utf-8 -*- +<%inherit file="index.tmpl"/> + +<%block name="extra_head"> + ${parent.extra_head()} + %if len(tranlations) > 1 and generate_atom: + %for language in sorted(translations): + <link rel="alternate" type="application/atom+xml" title="Atom for the ${author|h} section (${language})" href="${_link(kind + "_atom", author, language)}"> + %endfor + %elif generate_atom: + <link rel="alternate" type="application/atom+xml" title="Atom for the ${author|h} section" href="${_link("author" + "_atom", author)}"> + %endif +</%block> |
