doc/Sidebar: Use an autogenerated sitemap
authornicoo <nicoo@realraum.at>
Tue, 3 Jul 2018 14:27:25 +0000 (16:27 +0200)
committernicoo <nicoo@realraum.at>
Tue, 3 Jul 2018 14:30:12 +0000 (16:30 +0200)
This avoids having to update the sidebar when adding pages.

doc/ikiwiki.setup
doc/sidebar.mdwn

index 9a724fa..77340ec 100644 (file)
@@ -29,6 +29,7 @@ rcs: git
 add_plugins:
 - html
 - img
+- map
 - pagetemplate
 - sidebar
 
index bc6d830..f629ef5 100644 (file)
@@ -1,2 +1 @@
-- [[Servers]]
-- [[Services]]
+[[!map pages="page(*) and !*/* and !sidebar" show=title]]