Added a comment: use an inline directive

master
http://joey.kitenet.net/ 2010-11-29 20:39:37 +00:00 committed by Joey Hess
parent 5f4f0b5bdd
commit 9abe516c2e
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="use an inline directive"
date="2010-11-29T20:39:37Z"
content="""
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.
For example, you could use this:
The most recent 3 pages added to this site:
\[[!inline pages=\"*\" archive=yes show=4]]
"""]]