]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/todo/else_parameter_for_map_plugin.mdwn
response
[git.ikiwiki.info.git] / doc / todo / else_parameter_for_map_plugin.mdwn
index 4d6776229155fe489c9652c376ac54123401fa6f..8487f3564001c0aff05468181589ff78a2537cc6 100644 (file)
@@ -10,3 +10,18 @@ documentation yet, I'm waiting for feedback first, but I'll do it for sure. -- [
 
 > Can't a [[plugins/conditional]] be for this?
 > --[[Joey]]
+
+>> Hmmm, what do you mean? Adding a syntax such as the one below?
+>> Or something else?
+
+        \[[if test="map(" then="..." else="..."]]
+
+>> What would you write in the `then` clause?
+>> I'm not opposed at all to rewrite my two-liner, but I don't understand.
+>> --[[intrigeri]]
+
+       \[[if  test="foo/*" then="""
+       \[[map pages="foo/*"]]
+       """]]
+
+--[[Joey]]