New TODO
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>
Fri, 19 Sep 2008 03:29:32 +0000 (23:29 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 19 Sep 2008 03:29:32 +0000 (23:29 -0400)
doc/todo/Default_text_for_new_pages.mdwn [new file with mode: 0644]

diff --git a/doc/todo/Default_text_for_new_pages.mdwn b/doc/todo/Default_text_for_new_pages.mdwn
new file mode 100644 (file)
index 0000000..027160d
--- /dev/null
@@ -0,0 +1,8 @@
+The [[ikiwiki/directive/inline]] directive allows the creation of new pages.
+It would be nice if it was possible to specify default text for the new post.
+For example:
+
+    \[[!inline pages="blog/* and !*/Discussion" postform="yes" newposttemplate="blogtemplate.mdwn"]]
+
+This would allow you to create a new blog post.  When you hit the 'Edit' button, the system presents
+you with an edit form as normal, but rather than being empty, it has the text from `blogtemplate.mdwn`.