forked from github/pelican
support both implicit and explicit inheritance with THEMES
This commit is contained in:
parent
45945e6142
commit
b22f760042
4 changed files with 51 additions and 41 deletions
|
|
@ -720,12 +720,12 @@ Setting name (followed by default value, if any) What does it do?
|
|||
the paths defined in this settings, they will be
|
||||
progressively overwritten.
|
||||
``CSS_FILE = 'main.css'`` Specify the CSS file you want to load.
|
||||
``THEMES = {}`` Extra themes that can be inherited from. They can also
|
||||
inherit from each other. Use a dictionary to make a list
|
||||
of all the available list. The key in the dictionary will
|
||||
also be the prefix you use to inherit from the theme.
|
||||
|
||||
Example: ``THEMES = {'!foo': foo, '!foobar':foobar}``
|
||||
``THEMES = ('simple', ('!simple', 'simple'))`` Extra themes that can be inherited from, either
|
||||
implicitly (just a path to the theme) or explicitly
|
||||
using a prefix marker (tuple of prefix and path to
|
||||
theme). They can also inherit from each other,
|
||||
but only in the specified order.
|
||||
See :ref:`theme_inheritance` for details.
|
||||
================================================ =====================================================
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue