X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/bbb3a8aac760cf21ffb21a0bc779adc23de69943..b557b42155798f2065ed8db8d80a36a937d1a700:/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).