3 [[plugins/map]] (and I) could benefit from a bonus parameter:
5 else="Display this if no page matches the PageSpec"
7 This was quite simple, so I implemented this (branch "map" in my
8 ikiwiki repo, see my user page for the up-to-date URL). Not patched the
9 documentation yet, I'm waiting for feedback first, but I'll do it for sure. -- [[intrigeri]]
11 > Can't a [[plugins/conditional]] be for this?
14 >> Hmmm, what do you mean? Adding a syntax such as the one below?
17 \[[if test="map(" then="..." else="..."]]
19 >> What would you write in the `then` clause?
20 >> I'm not opposed at all to rewrite my two-liner, but I don't understand.
23 \[[if test="foo/*" then="""
24 \[[map pages="foo/*"]]