diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-08 00:00:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-08 00:01:12 -0400 |
commit | d50de130e8f9c1183ae958a3dc902829ab72c3bc (patch) | |
tree | 972ba56c3898fad8b29af7c9ba4ccac55123614a /doc/examples/blog | |
parent | 937b24e0cf98d75dd353d80267efddcecab9e908 (diff) | |
download | ikiwiki-d50de130e8f9c1183ae958a3dc902829ab72c3bc.tar ikiwiki-d50de130e8f9c1183ae958a3dc902829ab72c3bc.tar.gz |
conditionalize use of sidebar
Diffstat (limited to 'doc/examples/blog')
-rw-r--r-- | doc/examples/blog/index.mdwn | 7 |
1 files changed, 6 insertions, 1 deletions
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). |