From 58141a0ebcdf3313a83af712b83f8acd1c08aa3b Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 6 Feb 2007 21:17:25 +0000 Subject: * Patch based on a patch from Ethan to support relative matching in PageSpecs, by using "./". pagespec_match() has grown a new third parameter to support this. --- doc/examples/blog/index.mdwn | 6 +++--- doc/examples/blog/posts.mdwn | 2 +- doc/examples/blog/sidebar.mdwn | 2 +- doc/examples/blog/tags.mdwn | 2 +- doc/examples/blog/tags/life.mdwn | 2 +- doc/examples/softwaresite/news.mdwn | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/examples') diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn index 201abed20..0a4eb7307 100644 --- a/doc/examples/blog/index.mdwn +++ b/doc/examples/blog/index.mdwn @@ -1,10 +1,10 @@ [[meta title="example blog"]] -[[pagestats pages="*blog/tags/*"]] +[[pagestats pages="./tags/*"]] Welcome to my blog. Have a look at the most recent posts below, or browse the tag cloud on the right. An archive of all [[posts]] is also available. -[[inline pages="*blog/posts/* and !*/Discussion" show="10" -actions=yes rootpage="*blog/posts"]] +[[inline pages="./posts/* and !*/Discussion" show="10" +actions=yes rootpage="./posts"]] diff --git a/doc/examples/blog/posts.mdwn b/doc/examples/blog/posts.mdwn index f5b128df0..71eb9f1b1 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 my [[blog|index]]. -[[inline pages="*blog/posts/* and !*/Discussion" archive=yes feedshow=10 quick=yes]] +[[inline pages="./posts/* and !*/Discussion" archive=yes feedshow=10 quick=yes]] diff --git a/doc/examples/blog/sidebar.mdwn b/doc/examples/blog/sidebar.mdwn index 203d2e0c6..e9a76c19b 100644 --- a/doc/examples/blog/sidebar.mdwn +++ b/doc/examples/blog/sidebar.mdwn @@ -1,4 +1,4 @@ Example sidebar Categories: -[[map pages="*blog/tags/* and !*/Discussion"]] +[[map pages="./tags/* and !*/Discussion"]] diff --git a/doc/examples/blog/tags.mdwn b/doc/examples/blog/tags.mdwn index 08e7e5c57..daf77549a 100644 --- a/doc/examples/blog/tags.mdwn +++ b/doc/examples/blog/tags.mdwn @@ -1,3 +1,3 @@ -[[pagestats pages="*blog/tags/*"]] +[[pagestats pages="./tags/*"]] On the right you can see the tag cloud for this blog. diff --git a/doc/examples/blog/tags/life.mdwn b/doc/examples/blog/tags/life.mdwn index b6cf801e1..2f7a57379 100644 --- a/doc/examples/blog/tags/life.mdwn +++ b/doc/examples/blog/tags/life.mdwn @@ -1,4 +1,4 @@ This feed contains pages in the "life" category. -[[inline pages="link(tags/life) and *blog/posts/* and !*/Discussion" +[[inline pages="link(tags/life) and ./posts/* and !*/Discussion" show="10" actions=yes]] diff --git a/doc/examples/softwaresite/news.mdwn b/doc/examples/softwaresite/news.mdwn index cdee4fa59..20642c203 100644 --- a/doc/examples/softwaresite/news.mdwn +++ b/doc/examples/softwaresite/news.mdwn @@ -2,4 +2,4 @@ This is where annoucements of new releases, features, and other news is posted. FooBar users are recommended to subscribe to this page's RSS feed. -[[inline pages="*softwaresite/news/* and !*/Discussion" rootpage="news" show="30"]] +[[inline pages="./news/* and !*/Discussion" rootpage="news" show="30"]] -- cgit v1.2.3