diff options
Diffstat (limited to 'templates/html/htmljsnavindex.tpl')
-rw-r--r-- | templates/html/htmljsnavindex.tpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/html/htmljsnavindex.tpl b/templates/html/htmljsnavindex.tpl new file mode 100644 index 0000000..07a9efc --- /dev/null +++ b/templates/html/htmljsnavindex.tpl @@ -0,0 +1,7 @@ +{# input idx, entries #} +var NAVTREEINDEX{{ idx }} = +{ +{% for entry in entries %} + "{{ entry.file }}{{ config.HTML_FILE_EXTENSION }}{% if entry.anchor %}#{{ entry.anchor }}{% endif %}":[{% for e in entry.path %}{% if not forloop.first %}{{ e.index }}{% if not forloop.last%},{% endif %}{% endif %}{% endfor %}]{% if not forloop.last %},{%endif %} +{% endfor %} +}; |