From: Lunar Date: Sun, 26 May 2013 13:13:53 +0000 (+0200) Subject: Ajout d'une page pour les erreurs 404 X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/eafc7891e6df7820248f42c9e7998a2ceaea7ef2 Ajout d'une page pour les erreurs 404 --- diff --git a/404.mdwn b/404.mdwn new file mode 100644 index 0000000..51ed520 --- /dev/null +++ b/404.mdwn @@ -0,0 +1,14 @@ +[[!meta title="Erreur quatre cent quatre"]] + +Le fichier ou la page demandée n'existe pas. + +Plan du site +============ + +[[!map pages="page(*) and currentlang() and + !404 and + !ikiwiki and !ikiwiki/* and + !sandbox and + !shortcuts and + !sidebar and + !templates and !templates/*" show="title"]] diff --git a/ikiwiki.setup b/ikiwiki.setup index c24679a..232dcd6 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -34,6 +34,7 @@ add_plugins: - favicon - html - img +- map - po - recentchanges - sidebar @@ -207,7 +208,7 @@ po_master_language: fr|French po_slave_languages: - en|English # PageSpec controlling which pages are translatable -po_translatable_pages: À_propos or Donnez or Contact or Actualités or Actualités/* or sidebar +po_translatable_pages: 404 or À_propos or Donnez or Contact or Actualités or Actualités/* or sidebar # internal linking behavior (default/current/negotiated) po_link_to: current