diff options
author | http://kerravonsen.dreamwidth.org/ <http://kerravonsen.dreamwidth.org/@web> | 2012-04-03 01:56:42 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-04-03 01:56:42 -0400 |
commit | c0f759eb3cffedd2356b9b0d6cf3769df34aae8f (patch) | |
tree | 7e73887f1f84e26a2d50f86b29925e841c02d548 | |
parent | d0d2d213e89bed10a31e85e7cb85b718d4748c61 (diff) | |
download | ikiwiki-c0f759eb3cffedd2356b9b0d6cf3769df34aae8f.tar ikiwiki-c0f759eb3cffedd2356b9b0d6cf3769df34aae8f.tar.gz |
suggestion about page.tmpl
-rw-r--r-- | doc/todo/break_up_page_template_into_subfiles.mdwn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/break_up_page_template_into_subfiles.mdwn b/doc/todo/break_up_page_template_into_subfiles.mdwn new file mode 100644 index 000000000..1dd9e49cc --- /dev/null +++ b/doc/todo/break_up_page_template_into_subfiles.mdwn @@ -0,0 +1,14 @@ +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. + +Suggested sections: + +* page_head.tmpl for the things in the <head> section +* page_header.tmpl for things in the "header" div (which includes the PARENTLINKS loop) +* page_actions.tmpl for the actions section +* page_sidebar.tmpl for the sidebar +* page_content.tmpl for the main content +* page_footer.tmpl for the footer + +Would this work, or would HTML::Template have problems with this? + +-- [[KathrynAndersen]] |