summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://joey.kitenet.net/ <joey@web>2010-11-29 20:39:37 +0000
committerJoey Hess <joey@kitenet.net>2010-11-29 20:39:37 +0000
commit9abe516c2e52e7af941750f6e57727ad9b828f91 (patch)
treef154719801e26942b26a093fd1ad1bdb5727b56f
parent5f4f0b5bdd2d9f9bfaa55acf1fa02b1889281a60 (diff)
Added a comment: use an inline directive
-rw-r--r--doc/forum/How_to_list_new_pages__44___inline__63__/comment_1_e989b18bade34a92a9c8fe7099036e15._comment13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/How_to_list_new_pages__44___inline__63__/comment_1_e989b18bade34a92a9c8fe7099036e15._comment b/doc/forum/How_to_list_new_pages__44___inline__63__/comment_1_e989b18bade34a92a9c8fe7099036e15._comment
new file mode 100644
index 000000000..cf6f642d4
--- /dev/null
+++ b/doc/forum/How_to_list_new_pages__44___inline__63__/comment_1_e989b18bade34a92a9c8fe7099036e15._comment
@@ -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]]
+"""]]