add light mode docs

This commit is contained in:
Adrien Beudin 2016-11-04 11:39:52 +01:00
parent ffd7fab0ce
commit 79c17c54cc

View File

@ -106,14 +106,29 @@ The meaning of the currently supported FFMEG or LIBAV's settings is as follows :
* `other` Set different options if you need more * `other` Set different options if you need more
Light Mode
~~~~~~~~~~
::
settings:
ligh-mode: true
With this option Prospopee make a sub directory with light version of your gallery.
This light gallery use less JS, picture in low size etc..
For access to this light gallery, add /light in the url of the gallery.
If you want only light theme you can see below.
Themes Themes
~~~~~~ ~~~~~~
Prosopopée has a support for various themes. As for now, only 2 themes are available: Prosopopée has a support for various themes. As for now, only 3 themes are available:
* the default one called "exposure" * the default one called "exposure"
* "material" based on materialcss * "material" based on materialcss
* light
To specify the theme, add the "theme" key in your "settings" key or your To specify the theme, add the "theme" key in your "settings" key or your
**root** settings.yaml. For example:: **root** settings.yaml. For example::