How to add alternate stylesheets
Create a wikiconfig_local.py in your base folder with a Config class extending Config.
After this, create an attribute called stylesheets (in a list).
e.g.:
from wikiconfig import Config as WikiConfig class Config(WikiConfig): stylesheets = [('screen', 'http://www.moinmo.in/moin_static193/modernized/css/common.css', 'MoinMoin 1.9.3 css', True)] MOINCFG = Config
Usage: (media, url, title, alternate_stylesheet)
media : media that style will be presented (more information in http://www.w3.org/TR/CSS2/media.html)
- url: url to css file
- title: title that will appear at alternate stylesheet list.
alternate_stylesheet: boolean that indicates if the stylesheet is alternate or not (if not is preferred, more information in http://www.alistapart.com/articles/alternate/ )
After this, you are done!