diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-07 18:58:49 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-11-13 20:21:39 (GMT) |
commit | 0fea3d4ca57187f271d7580ff16f32b7ab4657df (patch) | |
tree | 867c49d9450eeb9ec85d1ec36a4dd71caa91d007 /templates/html/htmlindexpages.tpl | |
parent | 475b0c51847271b04cb0e58254bd7e420445250b (diff) | |
download | Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.zip Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.gz Doxygen-0fea3d4ca57187f271d7580ff16f32b7ab4657df.tar.bz2 |
Introduced template directory for template and resource files and resource compiler & manager
Diffstat (limited to 'templates/html/htmlindexpages.tpl')
-rw-r--r-- | templates/html/htmlindexpages.tpl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/html/htmlindexpages.tpl b/templates/html/htmlindexpages.tpl new file mode 100644 index 0000000..65bf1b6 --- /dev/null +++ b/templates/html/htmlindexpages.tpl @@ -0,0 +1,19 @@ +{# inputs: list, section #} +{% with letter='' %} + {# create full index page #} + {% create page.fileName|append:section|append:config.HTML_FILE_EXTENSION from template %} +{% endwith %} +{% if list|length>maxItemsForMultiPageList %} + {% opensubindex nav %} + {% with index=list|alphaIndex:'name' %} + {% for sect in index %} + {% with letter=sect.letter %} + {% set page_postfix=section|append:'_'|append:sect.label %} + {% indexentry nav name=letter file=page.fileName|append:page_postfix anchor='' %} + {# create index pages for all globals starting with a specific letter #} + {% create page.fileName|append:page_postfix|append:config.HTML_FILE_EXTENSION from template %} + {% endwith %} + {% endfor %} + {% endwith %} + {% closesubindex nav %} +{% endif %} |