X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/54f600af14bf6dc067ffc30ec6f22d517001fe99..31031bb59372597bbb74ca2293593ef035ef5a47:/doc/examples/blog/index.mdwn?ds=sidebyside diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn index a22c40c72..7914cd203 100644 --- a/doc/examples/blog/index.mdwn +++ b/doc/examples/blog/index.mdwn @@ -1,6 +1,11 @@ -[[!inline pages="./posts/* and !*/Discussion" show="10" +[[!if test="enabled(sidebar)" then=""" +[[!sidebar]] +""" else=""" +[[!inline pages=sidebar raw=yes]] +"""]] + +[[!inline pages="page(./posts/*) and !*/Discussion" show="10" actions=yes rootpage="posts"]] -[[!sidebar]] This blog is powered by [ikiwiki](http://ikiwiki.info).