]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/adding_new_pages_by_using_the_web_interface.mdwn
solution with an inline directive
[ikiwiki.git] / 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