summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2008-09-18 23:29:32 -0400
committerJoey Hess <joey@kitenet.net>2008-09-18 23:29:32 -0400
commitdc8a7dbfc97a8b6266bc3725aca503033a78607f (patch)
tree92ee924fcc1430f599fdc724e8eef14e22a171ad
parentb4216c5a09e54fc827774b8451d7647bb4901de6 (diff)
New TODO
-rw-r--r--doc/todo/Default_text_for_new_pages.mdwn8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/todo/Default_text_for_new_pages.mdwn b/doc/todo/Default_text_for_new_pages.mdwn
new file mode 100644
index 000000000..027160d00
--- /dev/null
+++ b/doc/todo/Default_text_for_new_pages.mdwn
@@ -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`.