aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/blog
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-14 12:35:21 -0400
committerJoey Hess <joey@kitenet.net>2010-06-14 12:35:21 -0400
commit5071a8eb734d090fd790ae1b9ceafe549c33cda2 (patch)
tree5a54946e6cd54fa55cefc8d3ab39f36b5995961b /doc/examples/blog
parent9f7a118ffc4c16c0810ce8f5ecaa0b6a577f523f (diff)
downloadikiwiki-5071a8eb734d090fd790ae1b9ceafe549c33cda2.tar
ikiwiki-5071a8eb734d090fd790ae1b9ceafe549c33cda2.tar.gz
limit blog inlines to pages
This way images attached to blog posts don't show up as enclosures in the blog by default.
Diffstat (limited to 'doc/examples/blog')
-rw-r--r--doc/examples/blog/index.mdwn2
-rw-r--r--doc/examples/blog/posts.mdwn2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn
index 220c1b3e3..7914cd203 100644
--- a/doc/examples/blog/index.mdwn
+++ b/doc/examples/blog/index.mdwn
@@ -4,7 +4,7 @@
[[!inline pages=sidebar raw=yes]]
"""]]
-[[!inline pages="./posts/* and !*/Discussion" show="10"
+[[!inline pages="page(./posts/*) and !*/Discussion" show="10"
actions=yes rootpage="posts"]]
diff --git a/doc/examples/blog/posts.mdwn b/doc/examples/blog/posts.mdwn
index fa2dbef0e..08e014838 100644
--- a/doc/examples/blog/posts.mdwn
+++ b/doc/examples/blog/posts.mdwn
@@ -1,3 +1,3 @@
Here is a full list of posts to the [[blog|index]].
-[[!inline pages="./posts/* and !*/Discussion" archive=yes feedshow=10 quick=yes]]
+[[!inline pages="page(./posts/*) and !*/Discussion" archive=yes feedshow=10 quick=yes]]