X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c877488f5210a977886ea6487b9b90b90fe5a6f5..5b494e1b636f4c26c14c9cf8f964bef0a70c784a:/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn diff --git a/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn b/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn index fb8b7095c..6d0bd0971 100644 --- a/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn +++ b/doc/todo/allow_TMPL__95__LOOP_in_template_directives.mdwn @@ -1,4 +1,4 @@ -[[!tag patch]] +[[!tag patch todo]] [[!template id="note" text=""" Simply copied this from my website @@ -6,10 +6,14 @@ Simply copied this from my website feel free to reformat / delete"""]] The following re-write allows for multiple definitions of the -same tag value in a template definition. This, in turn, allows -us to use TMPL_LOOPS in our template directives; all-be-it in a +same tag value in a [[plugins/template]] definition. This, in turn, allows +us to use TMPL_LOOPS in our [[ikiwiki/directive/template]] directives; all-be-it in a rather limited way. +> I'm willing to consider such a feature, but it needs to be presented in +> the form of a patch that is reviewable, not a gratuitous rewrite. +> --[[Joey]] + I would, personally, only use this feature for very basic loops and, although nested loops *might* be possible (with a little more tinkering) it think any attempt would be better served by