aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/blog/index.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2010-04-15 17:38:13 -0400
committerJoey Hess <joey@gnu.kitenet.net>2010-04-15 17:38:13 -0400
commitd63e043f0abf642ff4048cc20c6caf03db3e55fb (patch)
tree888d018126f548b9627bd3b61d8cb4477098bf83 /doc/examples/blog/index.mdwn
parentd7c164dbf29ef57f8ed2963985bd250acbef96df (diff)
downloadikiwiki-d63e043f0abf642ff4048cc20c6caf03db3e55fb.tar
ikiwiki-d63e043f0abf642ff4048cc20c6caf03db3e55fb.tar.gz
allow sidebar directive to enable use of sidebar page
This way, the example blog always has a sidebar on the index page, but not the overhead of sidebars on all the other pages. And if a user wants to, they can enable global_sidebars to switch to sidebars on every page.
Diffstat (limited to 'doc/examples/blog/index.mdwn')
-rw-r--r--doc/examples/blog/index.mdwn10
1 files changed, 1 insertions, 9 deletions
diff --git a/doc/examples/blog/index.mdwn b/doc/examples/blog/index.mdwn
index 062c71f2e..a22c40c72 100644
--- a/doc/examples/blog/index.mdwn
+++ b/doc/examples/blog/index.mdwn
@@ -1,14 +1,6 @@
[[!inline pages="./posts/* and !*/Discussion" show="10"
actions=yes rootpage="posts"]]
-[[!sidebar """
-[[Tags]]: [[!pagestats style="list" pages="./tags/*" among="./posts/*"]]
-
-[[Recent Comments|comments]]
-
-[[Archives]]
-
-[[!calendar pages="./posts/* and !*/Discussion"]]
-"""]]
+[[!sidebar]]
This blog is powered by [ikiwiki](http://ikiwiki.info).