]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
solution with an inline directive
authorhttp://jeremie.koenig.myopenid.com/ <http://jeremie.koenig.myopenid.com/@web>
Sun, 3 Aug 2008 23:25:21 +0000 (19:25 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 3 Aug 2008 23:25:21 +0000 (19:25 -0400)
doc/todo/adding_new_pages_by_using_the_web_interface.mdwn

index 8ff7f122aac789cea250c46500568ced98a656ee..57ee99eb05238eeba230027824cea9fa0783f1c9 100644 (file)
@@ -25,6 +25,12 @@ rarer thing to want than unconnected top level pages. --[[Joey]]
 > <http://jameswestby.net/scratch/create.diff>
 > -- JamesWestby
 
+> For what it's worth, the following works:  
+> `\[[!inline pages=!* rss=no atom=no postform=yes postformtext="Add a new page titled:"]]`  
+> Add `rootpage=/` if you do this in `index.mdwn` to avoid creating subpages.
+> --[[JeremieKoenig]]
+
+
 Maybe a very simple PHP frontend for serving the
 statically generated pages, that would display a page editing form or
 something like that for non-existent pages, wouldn't be too bad a thing