From d50de130e8f9c1183ae958a3dc902829ab72c3bc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 8 May 2010 00:00:03 -0400 Subject: conditionalize use of sidebar --- doc/examples/blog/index.mdwn | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc/examples/blog') diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn index a22c40c72..220c1b3e3 100644 --- a/doc/examples/blog/index.mdwn +++ b/doc/examples/blog/index.mdwn @@ -1,6 +1,11 @@ +[[!if test="enabled(sidebar)" then=""" +[[!sidebar]] +""" else=""" +[[!inline pages=sidebar raw=yes]] +"""]] + [[!inline pages="./posts/* and !*/Discussion" show="10" actions=yes rootpage="posts"]] -[[!sidebar]] This blog is powered by [ikiwiki](http://ikiwiki.info). -- cgit v1.2.3