add example of a map showing page descriptions
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 16 Nov 2009 20:30:08 +0000 (15:30 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 16 Nov 2009 20:30:08 +0000 (15:30 -0500)
doc/ikiwiki/directive/map.mdwn

index 09c95a0c99917d0226cbef596df662e2e3e97e33..4b6499547f71fcd95f1e4380d1ed9016ad5d729b 100644 (file)
@@ -13,6 +13,8 @@ the [[meta]] directive). For example:
 
        \[[!map pages="* and !blog/* and !*/Discussion" show=title]]
 
+       \[[!map pages="* and !blog/* and !*/Discussion" show=description]]
+
 Hint: To limit the map to displaying pages less than a certain level deep,
 use a [[ikiwiki/PageSpec]] like this: `pages="* and !*/*/*"`