]> sipb.mit.edu Git - ikiwiki.git/blob - doc/blog.mdwn
add rss button
[ikiwiki.git] / doc / blog.mdwn
1 You can turn any page on this wiki into a weblog by inserting a
2 [[PostProcessorDirective]]. Like this:
3
4 \\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
5
6 Any pages that match the specified [[GlobList]] (in the example, any
7 [[SubPage]] of "blog") will be part of the blog, and the newest 10
8 of them will appear in the page.
9
10 The optional `rootpage` setting tells the wiki that new posts to this blog
11 should default to being [[SubPage]] of "blog", and enables a form at the
12 top of the blog that can be used to add new items.
13
14 If you want your blog to have an archive page listing every post ever made
15 to it, you can accomplish that like this:
16
17 \\[[inline pages="blog/* !*/Discussion" archive="yes"]]
18
19 You can even create an automatically generated list of all the pages on the
20 wiki, with the most recently added at the top, like this:
21
22 \\[[inline pages="* !*/Discussion" archive="yes"]]