File: map.mdwn

package info (click to toggle)
ikiwiki 3.20190228-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,904 kB
  • sloc: perl: 31,100; python: 428; sh: 185; makefile: 120
file content (19 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[[!template id=plugin name=map author="Alessandro Dotti Contra"]]
[[!tag type/meta type/widget]]

This plugin provides the [[ikiwiki/directive/map]] [[ikiwiki/directive]],
which generates a hierarchical page map for the wiki.

[[!if test="enabled(map)" then="""
This will create an a map, for the plugins section of this wiki:

    \[[!map pages="(plugins or plugins/*) and !*/*/*"]]

Example:

[[!map pages="(plugins or plugins/*) and !*/*/*"]]

It's also possible to search for specific tags or links:

    \[[!map pages="todo/* and !todo/done and !link(todo/done)"]]
"""]]