suggestion about page.tmpl
[ikiwiki] / doc / todo / break_up_page_template_into_subfiles.mdwn
1 Wishlist items such as [[Add space before slash in parent links]] would be easier to deal with if the page.tmpl template was broken up into sections and each section had a separate template file which was included in the master page.tmpl file.  This would make it easier to customize parts of a page without having to fork the whole page.tmpl and then have things break when there's an update of the master page.tmpl file.
2
3 Suggested sections:
4
5 * page_head.tmpl for the things in the <head> section
6 * page_header.tmpl for things in the "header" div (which includes the PARENTLINKS loop)
7 * page_actions.tmpl for the actions section
8 * page_sidebar.tmpl for the sidebar
9 * page_content.tmpl for the main content
10 * page_footer.tmpl for the footer
11
12 Would this work, or would HTML::Template have problems with this?
13
14 -- [[KathrynAndersen]]