aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-15 13:30:54 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-15 13:30:54 -0200
commit335314ae4be15d4dfa9bff660c6eea4ee5c71b02 (patch)
tree32e1c7151e9c2ee31f53fcb9ffb9dfcd757c7adb
parent895757e73cbf971a5a97eef4df51f99de6465b46 (diff)
downloadblog-335314ae4be15d4dfa9bff660c6eea4ee5c71b02.tar.gz
blog-335314ae4be15d4dfa9bff660c6eea4ee5c71b02.tar.bz2
Sitemap
-rw-r--r--map.mdwn3
-rw-r--r--templates/page.tmpl1
2 files changed, 4 insertions, 0 deletions
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>