diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:32:31 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:32:31 +0100 |
commit | 47d179802d5f78365fa7077ae64de35f2892a1e4 (patch) | |
tree | 3015f658f1068847a555597783759c20a54c1e00 /doc/examples | |
parent | 121d0f34560ec49d259d5e9b19f4426bba08cf4c (diff) | |
download | ikiwiki-47d179802d5f78365fa7077ae64de35f2892a1e4.tar ikiwiki-47d179802d5f78365fa7077ae64de35f2892a1e4.tar.gz |
Migrate everything else via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/blog/index.mdwn | 6 | ||||
-rw-r--r-- | doc/examples/blog/posts.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/blog/posts/first_post.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/blog/sidebar.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/blog/tags.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/blog/tags/life.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/blog/tags/tech.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/softwaresite/bugs.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/softwaresite/bugs/done.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/softwaresite/doc/faq.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/softwaresite/news.mdwn | 2 | ||||
-rw-r--r-- | doc/examples/softwaresite/templates/release.mdwn | 4 |
12 files changed, 15 insertions, 15 deletions
diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn index b0514d575..3b2d46027 100644 --- a/doc/examples/blog/index.mdwn +++ b/doc/examples/blog/index.mdwn @@ -1,12 +1,12 @@ -[[meta title="example blog"]] +[[!meta title="example blog"]] -[[pagestats pages="./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="./posts/* and !*/Discussion" show="10" +[[!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 71eb9f1b1..4b2939120 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="./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/posts/first_post.mdwn b/doc/examples/blog/posts/first_post.mdwn index f8a698801..3d7174ae8 100644 --- a/doc/examples/blog/posts/first_post.mdwn +++ b/doc/examples/blog/posts/first_post.mdwn @@ -1,4 +1,4 @@ This is the first post to this example blog. To add new posts, just add files to the blog/posts/ subdirectory, or use the web form. -[[tag tags/tech]] +[[!tag tags/tech]] diff --git a/doc/examples/blog/sidebar.mdwn b/doc/examples/blog/sidebar.mdwn index 19475d7c7..a9fac388e 100644 --- a/doc/examples/blog/sidebar.mdwn +++ b/doc/examples/blog/sidebar.mdwn @@ -4,4 +4,4 @@ Example sidebar * [[Archive|posts]] Categories: -[[map pages="./tags/* and !*/Discussion"]] +[[!map pages="./tags/* and !*/Discussion"]] diff --git a/doc/examples/blog/tags.mdwn b/doc/examples/blog/tags.mdwn index daf77549a..53cc8d368 100644 --- a/doc/examples/blog/tags.mdwn +++ b/doc/examples/blog/tags.mdwn @@ -1,3 +1,3 @@ -[[pagestats pages="./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 2f7a57379..ddc2e646c 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 ./posts/* and !*/Discussion" +[[!inline pages="link(tags/life) and ./posts/* and !*/Discussion" show="10" actions=yes]] diff --git a/doc/examples/blog/tags/tech.mdwn b/doc/examples/blog/tags/tech.mdwn index dff92f333..e811cac34 100644 --- a/doc/examples/blog/tags/tech.mdwn +++ b/doc/examples/blog/tags/tech.mdwn @@ -1,3 +1,3 @@ This feed contains pages in the "tech" category. -[[inline pages="link(tags/tech) and !*/Discussion" show=10 actions=yes]] +[[!inline pages="link(tags/tech) and !*/Discussion" show=10 actions=yes]] diff --git a/doc/examples/softwaresite/bugs.mdwn b/doc/examples/softwaresite/bugs.mdwn index ad8d6cdb4..46ead2b62 100644 --- a/doc/examples/softwaresite/bugs.mdwn +++ b/doc/examples/softwaresite/bugs.mdwn @@ -1,4 +1,4 @@ This is FooBar's bug list. Link bugs to [[bugs/done]] when done. -[[inline pages="./bugs/* and !./bugs/done and !link(done) +[[!inline pages="./bugs/* and !./bugs/done and !link(done) and !*/Discussion" actions=yes postform=yes show=0]] diff --git a/doc/examples/softwaresite/bugs/done.mdwn b/doc/examples/softwaresite/bugs/done.mdwn index af88c1c7c..ad332e2a2 100644 --- a/doc/examples/softwaresite/bugs/done.mdwn +++ b/doc/examples/softwaresite/bugs/done.mdwn @@ -1,3 +1,3 @@ recently fixed [[bugs]] -[[inline pages="./* and link(./done) and !*/Discussion" sort=mtime show=10]] +[[!inline pages="./* and link(./done) and !*/Discussion" sort=mtime show=10]] diff --git a/doc/examples/softwaresite/doc/faq.mdwn b/doc/examples/softwaresite/doc/faq.mdwn index 249c6f779..fe0c3eff0 100644 --- a/doc/examples/softwaresite/doc/faq.mdwn +++ b/doc/examples/softwaresite/doc/faq.mdwn @@ -1,6 +1,6 @@ FooBar frequently asked questions. -[[toc ]] +[[!toc ]] ## Is this a real program? diff --git a/doc/examples/softwaresite/news.mdwn b/doc/examples/softwaresite/news.mdwn index 20642c203..9b53c7d99 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="./news/* and !*/Discussion" rootpage="news" show="30"]] +[[!inline pages="./news/* and !*/Discussion" rootpage="news" show="30"]] diff --git a/doc/examples/softwaresite/templates/release.mdwn b/doc/examples/softwaresite/templates/release.mdwn index 759decb40..ac7ff93c7 100644 --- a/doc/examples/softwaresite/templates/release.mdwn +++ b/doc/examples/softwaresite/templates/release.mdwn @@ -3,5 +3,5 @@ <TMPL_VAR news> </TMPL_IF> -FooBar <TMPL_VAR version> released with [[toggle text="these changes" id="changelog"]] -[[toggleable id="changelog" text="""<TMPL_VAR changelog>"""]] +FooBar <TMPL_VAR version> released with [[!toggle text="these changes" id="changelog"]] +[[!toggleable id="changelog" text="""<TMPL_VAR changelog>"""]] |