]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/use_templates_for_the_img_plugin.mdwn
d6dce8c63a36d30be93fcf45cb8a2dd1bc6ce377
[ikiwiki.git] / doc / todo / use_templates_for_the_img_plugin.mdwn
1 [[!template id=gitbranch branch=jmtd/img_use_template author="[[Jon]]"]]
2
3 Not finished! :-)
4
5 The patches in <http://github.com/jmtd/ikiwiki/tree/img_use_template> convert the `img.pm` plugin to use a template (by default, `img.tmpl`, varied using a `template=` parameter) rather than hard-code the generated HTML.
6
7 I originally thought of this to solve the problem outlined in [[bugs/can't mix template vars inside directives]], before I realised I could wrap the `img` call in my pages with a template to achieve the same thing.  I therefore sat on it.
8
9 However, I since thought of another use for this, and so started implementing it. (note to self: explain this other use)