diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-05-21 14:15:50 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-05-21 14:15:50 -0400 |
commit | fe9183a926f33c29c026be774a5a6d286933bcc4 (patch) | |
tree | 8b765f020d0ac19413c669a36e948ed1b735ae70 /doc/bugs | |
parent | 1a677f862c8a5e1e446adcea3f3737de07085c35 (diff) |
response
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn b/doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn index 85c2d0c6c..1c1cbbb73 100644 --- a/doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn +++ b/doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn @@ -7,3 +7,17 @@ with a template definition like <div id="foo">\[[!inline ... pages="<TMPL_VAR raw_pages>"]]</div> It would be much more convenient if the loop over pages happened in the template, allowing me to just stick whatever markup I want around the loop. + +> Unfortunatly, I don't think this can be changed at this point, +> it would probably break a lot of stuff that relies on the current +> template arrangement, both in ikiwiki's internals and in +> people's own, customised inline templates. (Also, I have some plans +> to allow a single inline to use different templates for different +> sorts of pages, which would rely on the current one template per +> page approach to work.) +> +> But there is a simple workaround.. the first template in +> an inline has FIRST set, and the last one has LAST set. +> So you can use that to emit your div or table top and bottom. +> +> [[done]] --[[Joey]] |