From 5071a8eb734d090fd790ae1b9ceafe549c33cda2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Jun 2010 12:35:21 -0400 Subject: [PATCH] limit blog inlines to pages This way images attached to blog posts don't show up as enclosures in the blog by default. --- doc/examples/blog/index.mdwn | 2 +- doc/examples/blog/posts.mdwn | 2 +- 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]] -- 2.26.2