]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/How_to_list_new_pages__44___inline__63__/comment_1_e989b18bade34a92a9c8fe7099036e15._comment
ikiwiki (3.20140916) unstable; urgency=low
[ikiwiki.git] / doc / forum / How_to_list_new_pages__44___inline__63__ / comment_1_e989b18bade34a92a9c8fe7099036e15._comment
1 [[!comment format=mdwn
2  username="http://joey.kitenet.net/"
3  nickname="joey"
4  subject="use an inline directive"
5  date="2010-11-29T20:39:37Z"
6  content="""
7 This is what the [[ikiwiki/directive/inline]] directive is for. It's often used, to for example, show new posts to a blog. If you want to show new posts to anywhere in your site, or whatever, you can configure the [[ikiwiki/PageSpec]] in it to do that, too. 
8
9 For example, you could use this:
10
11     The most recent 3 pages added to this site:
12     \[[!inline pages=\"*\" archive=yes show=4]]
13 """]]