ikiwiki/doc/todo/default_content_for_new_pos...

23 lines
1.5 KiB
Plaintext
Raw Normal View History

Along the same lines as having a [[default_name_for_new_post]]s, an option
to include default content in a new [[plugins/inline]] post would help with
tasks like using an inline for a comment form on each new blog post.
2007-02-13 23:04:19 +01:00
--[[JoshTriplett]]
> No, it would only help if the new blog post were being made via the form.
> If you're editing it in vi, and committing, it doesn't help. :-) This is
> another reason why I prefer the approach in [[discussion_page_as_blog]]
> --[[Joey]]
2007-02-13 23:04:19 +01:00
This feature would also allow the automatic inclusion of a given template in
every new post, which could help for [[/plugins]] (automatically use the
plugin template), or for [[/bugs]] and [[todo_items|/todo]] (automatically use
a template that appends "(done)" to the title if the page links to
2007-02-13 23:05:41 +01:00
"done"). --[[JoshTriplett]]
2007-07-21 02:44:30 +02:00
> 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:
> * For any given site often it's only the admin user who makes changes via svn, everyone else uses the web
> * It's remote and casual users who benefit most from having standard templates to use for new pages
> * When using svn to make changes it's easier to manually provide template functionality (eg. cp recipe_template.mdwn newpage.mdwn)
> 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]]