X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/64295da8aff69aec7bf7fd4df6225e67c894635e..dd87d82fbe2bf09abe634caef044474d5b24502e:/doc/todo/else_parameter_for_map_plugin.mdwn diff --git a/doc/todo/else_parameter_for_map_plugin.mdwn b/doc/todo/else_parameter_for_map_plugin.mdwn index 859b027e7..50fe39357 100644 --- a/doc/todo/else_parameter_for_map_plugin.mdwn +++ b/doc/todo/else_parameter_for_map_plugin.mdwn @@ -35,3 +35,13 @@ documentation yet, I'm waiting for feedback first, but I'll do it for sure. -- [ >>> heavy duplicated syntax without bloating the map plugin with features >>> no-one but me needs. On the other other hand, the patch is a 3-liner. >>> I'm not fixed yet, I'll think about it. --[[intrigeri]] + +>>>> Write a [[plugins/template]] which accepts a pagespec and an +>>>> "else" clause, and then you won't have to duplicate the +>>>> pagespec. --[[JoshTriplett]] + +>>>> Yeah, the patch is obviously very simple. My problem with it really is +>>>> that there would seem to be several other places in ikiwiki where +>>>> someone might want to be able to handle an "else" case where a +>>>> pagespec expands to nothing. And adding else cases for all of them +>>>> could be a bit much. --[[Joey]]