From f5ddb82d4ccfaeec1f326b9c0d8e62c0619b62a0 Mon Sep 17 00:00:00 2001 From: nicoo Date: Tue, 3 Jul 2018 16:27:25 +0200 Subject: [PATCH] doc/Sidebar: Use an autogenerated sitemap This avoids having to update the sidebar when adding pages. --- doc/ikiwiki.setup | 1 + doc/sidebar.mdwn | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup index 9a724fa..77340ec 100644 --- a/doc/ikiwiki.setup +++ b/doc/ikiwiki.setup @@ -29,6 +29,7 @@ rcs: git add_plugins: - html - img +- map - pagetemplate - sidebar diff --git a/doc/sidebar.mdwn b/doc/sidebar.mdwn index bc6d830..f629ef5 100644 --- a/doc/sidebar.mdwn +++ b/doc/sidebar.mdwn @@ -1,2 +1 @@ -- [[Servers]] -- [[Services]] +[[!map pages="page(*) and !*/* and !sidebar" show=title]] -- 1.7.10.4