From: Joey Hess Date: Mon, 20 Oct 2008 19:38:17 +0000 (-0400) Subject: turn on archive mode for forum X-Git-Tag: 2.68~142 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=947fd054723473c2aabf497bbe5960da5e3fed04;p=ikiwiki.git turn on archive mode for forum --- diff --git a/doc/forum.mdwn b/doc/forum.mdwn index bab65cac6..729540774 100644 --- a/doc/forum.mdwn +++ b/doc/forum.mdwn @@ -5,4 +5,4 @@ _This is a bold experiment by me, since I have exactly such a question. This ove ## Current topics ## [[!inline pages="forum/* and !forum/discussion and !forum/*/*" -actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=0]] +archive=yes rootpage="forum" postformtext="Add a new thread titled:" show=0]] diff --git a/doc/forum/discussion.mdwn b/doc/forum/discussion.mdwn index dc77d43b1..1e55d3f57 100644 --- a/doc/forum/discussion.mdwn +++ b/doc/forum/discussion.mdwn @@ -1,4 +1,4 @@ -I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. Here is an experimental example: [[forum/discussion/mapexample]] (apologies for the double forum/forum) -- [[JonDowland]] +I like the idea of this forum heirarchy -- but I think a map would be clearer than inlining the sub-pages. -- [[JonDowland]] > The easier way to accomplish this is to set archive=yes in the inline. > Switching to archive view can be useful when there are a lot of long diff --git a/doc/forum/forum/discussion/mapexample.mdwn b/doc/forum/forum/discussion/mapexample.mdwn deleted file mode 100644 index 9933de596..000000000 --- a/doc/forum/forum/discussion/mapexample.mdwn +++ /dev/null @@ -1,9 +0,0 @@ -This is an experiment to see if a map would be clearer for the forum sub-pages than an inline. - ----- -[[!inline pages="forum/* and !forum/discussion and !forum/*/*" -actions=yes rootpage="forum" postformtext="Add a new thread titled:" show=-1]] - -[[!map pages="forum/* and !forum/discussion and !forum/*/*"]] -