]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/default_content_for_new_post.mdwn
web commit by HenrikBrixAndersen: Add example patch
[ikiwiki.git] / doc / todo / default_content_for_new_post.mdwn
1 Along the same lines as having a [[default_name_for_new_post]]s, an option
2 to include default content in a new [[plugins/inline]] post would help with
3 tasks like using an inline for a comment form on each new blog post.
4 --[[JoshTriplett]]
5
6 > No, it would only help if the new blog post were being made via the form.
7 > If you're editing it in vi, and committing, it doesn't help. :-) This is
8 > another reason why I prefer the approach in [[discussion_page_as_blog]]
9 > --[[Joey]]
10
11 This feature would also allow the automatic inclusion of a given template in
12 every new post, which could help for [[/plugins]] (automatically use the
13 plugin template), or for [[/bugs]] and [[todo_items|/todo]] (automatically use
14 a template that appends "(done)" to the title if the page links to
15 "done"). --[[JoshTriplett]]
16
17 > This is a feature I miss a lot from MoinMoin, and is especially helpful when you maintain pages which have a regular format (eg. recipe pages).  I understand that using svn would bypass this feature but I think it's worth considering anyway because:
18
19 > * For any given site often it's only the admin user who makes changes via svn, everyone else uses the web
20 > * It's remote and casual users who benefit most from having standard templates to use for new pages
21 > * When using svn to make changes it's easier to manually provide template functionality (eg. cp recipe_template.mdwn newpage.mdwn)
22
23 > All of course bearing in mind that I'm just commenting because I don't have the skills to actually make the required changes. ;-) -- [[AdamShand]]