]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/Default_text_for_new_pages.mdwn
027160d001779028b48dc0124fa236a3594ed752
[git.ikiwiki.info.git] / doc / todo / Default_text_for_new_pages.mdwn
1 The [[ikiwiki/directive/inline]] directive allows the creation of new pages.
2 It would be nice if it was possible to specify default text for the new post.
3 For example:
5     \[[!inline pages="blog/* and !*/Discussion" postform="yes" newposttemplate="blogtemplate.mdwn"]]
7 This would allow you to create a new blog post.  When you hit the 'Edit' button, the system presents
8 you with an edit form as normal, but rather than being empty, it has the text from `blogtemplate.mdwn`.