From 359d6234d9ce811bd2f5ff4ae662d66e9b93bd98 Mon Sep 17 00:00:00 2001 From: "http://zwol.livejournal.com/" Date: Mon, 11 May 2009 02:30:16 -0400 Subject: --- ...way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn 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 new file mode 100644 index 000000000..85c2d0c6c --- /dev/null +++ b/doc/bugs/no_easy_way_to_wrap_HTML_container_around_a_set_of_inlined_pages.mdwn @@ -0,0 +1,9 @@ +The [[ikiwiki/directive/inline]] directive applies a template to each page-to-be-inlined, but the loop over the pages is in the Perl, not the template itself. This means if I want to wrap a container `
` or a `` or whatever around the entire set of inlined pages, I can't do it by just editing the template. In fact, I think the only way to do it without hacking any Perl is with a wrapper template directive, e.g. + + \[[!template id="wrapinline" pages="..."]] + +with a template definition like + +
\[[!inline ... pages=""]]
+ +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. -- cgit v1.2.3