From 2fd3e11376945fb6b15688c1d6b0c3f92c602f82 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Mon, 20 Jan 2014 10:32:00 +0100 Subject: [PATCH] Document html templates customization on the user side. --- use/httpserver.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/use/httpserver.rst b/use/httpserver.rst index 1135ffc..ffc0e11 100644 --- a/use/httpserver.rst +++ b/use/httpserver.rst @@ -38,3 +38,18 @@ rewrite, please notify me whether it works or not): RewriteRule ^/webstats/(.*)$ /$1 + +Templates +========= + +Among plugins which use the http server, some use the standard templates +system which allows you to edit page templates in a standard way (for other +plugins, check their documentation). + +Templates are located in the `data/web/` folder. There is a folder per plugin +(and a `generic` folder, which holds generic pages), and all file names end +with `.example`, which is the default template provided by the plugin. +To customize it, rename it to remove `.example` (for instance: +``mv fooplugin/foopage.html.example fooplugin/foopage.html``) and edit it +(either do it intuitively or check the plugin documentation to see how +it handles its templates).