From 335314ae4be15d4dfa9bff660c6eea4ee5c71b02 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto <rhatto@riseup.net> Date: Fri, 15 Jan 2016 13:30:54 -0200 Subject: [PATCH] Sitemap --- map.mdwn | 3 +++ templates/page.tmpl | 1 + 2 files changed, 4 insertions(+) create mode 100644 map.mdwn diff --git a/map.mdwn b/map.mdwn new file mode 100644 index 0000000..6586976 --- /dev/null +++ b/map.mdwn @@ -0,0 +1,3 @@ +[[!meta title="Sitemap"]] + +[[!map pages="page(*) and !ikiwiki/* and !index and !sandbox and !templates* and !smileys and !shortcuts and !ikiwiki and !RecentChanges and !*/Discussion" show="title"]] diff --git a/templates/page.tmpl b/templates/page.tmpl index b525d22..01a1aad 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -52,6 +52,7 @@ </TMPL_LOOP> <li><TMPL_VAR TITLE></li> <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="/map">Map</a></li> <li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">History</a></li> <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> </ul> -- GitLab