]> 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 01b714fcdfbcd6744a962bbe9f5bdf24f8dd021e..7914cd203a43eb6b48665a2d225327c5ade01d2c 100644 (file)
@@ -1,13 +1,11 @@
-[[!pagestats pages="./tags/*" among="./posts/*"]]
+[[!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. Archives of all [[posts]] and all [[comments]] are 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).