From: Joey Hess Date: Mon, 14 Jun 2010 16:35:21 +0000 (-0400) Subject: limit blog inlines to pages X-Git-Tag: 3.20100623~68 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5071a8eb734d090fd790ae1b9ceafe549c33cda2;p=ikiwiki.git limit blog inlines to pages This way images attached to blog posts don't show up as enclosures in the blog by default. --- 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]]