diff options
Diffstat (limited to 'giscanner/doctemplates/mallard-base.tmpl')
-rw-r--r-- | giscanner/doctemplates/mallard-base.tmpl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/giscanner/doctemplates/mallard-base.tmpl b/giscanner/doctemplates/mallard-base.tmpl new file mode 100644 index 00000000..07eb4468 --- /dev/null +++ b/giscanner/doctemplates/mallard-base.tmpl @@ -0,0 +1,23 @@ +<%! page_type="topic" %>\ +<?xml version="1.0"?> +<page id="${page_id}" + type="${self.attr.page_type}" + style="${page_style}" + xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" + xmlns:ui="http://projectmallard.org/experimental/ui/"> + <info> + <%block name="info"> + <link type="guide" xref="index"/> + </%block> + </info> + <title><%block name="title">${formatter.format_page_name(node)}</%block></title> + <%block name="content"> + ${formatter.format(node, node.doc)} + </%block> + <%def name="since_version()"> + % if node.version: + <p>Since ${node.version}</p> + % endif + </%def> +</page> |