]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/examples/blog/index.mdwn
limit blog inlines to pages
[ikiwiki.git] / doc / examples / blog / index.mdwn
index e4111fdceb5306d8b326b4e85d3083786e2025cc..7914cd203a43eb6b48665a2d225327c5ade01d2c 100644 (file)
@@ -1,12 +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"]]
 
 actions=yes rootpage="posts"]]
 
-----
 
 
-This wiki is powered by [ikiwiki](http://ikiwiki.info).
+This blog is powered by [ikiwiki](http://ikiwiki.info).