[% IF pages.previous -%] [ Prev ] [%- ELSE -%] [ Prev ] [%- END %] [% IF page.properties.type == 'namespace-index' -%] [ Index ] [%- ELSE -%] [% IF pages.index -%] [ Index ] [%- ELSE -%] [ Index ] [%- END %] [%- END %] [% IF pages.next -%] [ Next ] [%- ELSE -%] [ Next ] [%- END %]
[% IF page.properties.type == 'namespace-index' -%]

Document Index

[%- ELSE -%]

[% page.heading %]

[%- END %] [% page.body %]
[% IF page.backlinks -%] Backlinks: [%- FOREACH link = page.backlinks -%] [% link.name %] [%- END -%] [%- ELSE -%] No backlinks to this page. [%- END %]