projects
/
noc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8ee34
)
doc/Sidebar: Use an autogenerated sitemap
author
nicoo
<nicoo@realraum.at>
Tue, 3 Jul 2018 14:27:25 +0000
(16:27 +0200)
committer
nicoo
<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
patch
|
blob
|
history
doc/sidebar.mdwn
patch
|
blob
|
history
diff --git
a/doc/ikiwiki.setup
b/doc/ikiwiki.setup
index
9a724fa
..
77340ec
100644
(file)
--- 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
(file)
--- a/
doc/sidebar.mdwn
+++ b/
doc/sidebar.mdwn
@@
-1,2
+1
@@
-- [[Servers]]
-- [[Services]]
+[[!map pages="page(*) and !*/* and !sidebar" show=title]]