solution with an inline directive

master
http://jeremie.koenig.myopenid.com/ 2008-08-03 19:25:21 -04:00 committed by Joey Hess
parent 219afc3f9c
commit 06829be296
1 changed files with 6 additions and 0 deletions

View 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