diff options
author | http://jmtd.livejournal.com/ <http://jmtd.livejournal.com/@web> | 2010-10-06 20:27:08 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-06 20:27:08 +0000 |
commit | 78f784c91df385050ef61a0c76c906cacdb2d911 (patch) | |
tree | fc5718265d792ca2b0c5498897b0b4365941e905 /doc/todo | |
parent | 734d352bebc66cf80458277b96ef06467c6f99ed (diff) |
gitbranch template
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/use_templates_for_the_img_plugin.mdwn | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/todo/use_templates_for_the_img_plugin.mdwn b/doc/todo/use_templates_for_the_img_plugin.mdwn index c5a1028f4..d6dce8c63 100644 --- a/doc/todo/use_templates_for_the_img_plugin.mdwn +++ b/doc/todo/use_templates_for_the_img_plugin.mdwn @@ -1,5 +1,9 @@ -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. +[[!template id=gitbranch branch=jmtd/img_use_template author="[[Jon]]"]] + +Not finished! :-) + +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. 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. -However, I since thought of another use for this, and so started implementing it. +However, I since thought of another use for this, and so started implementing it. (note to self: explain this other use) |