summaryrefslogtreecommitdiff
path: root/doc/examples/blog/index.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/blog/index.mdwn')
-rw-r--r--doc/examples/blog/index.mdwn14
1 files changed, 6 insertions, 8 deletions
diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn
index 84c732dd1..7914cd203 100644
--- a/doc/examples/blog/index.mdwn
+++ b/doc/examples/blog/index.mdwn
@@ -1,13 +1,11 @@
-[[!pagestats pages="./tags/*"]]
+[[!if test="enabled(sidebar)" then="""
+[[!sidebar]]
+""" else="""
+[[!inline pages=sidebar raw=yes]]
+"""]]
-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="page(./posts/*) and !*/Discussion" show="10"
actions=yes rootpage="posts"]]
-----
This blog is powered by [ikiwiki](http://ikiwiki.info).