mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix special handling of THEMES paths
This commit is contained in:
parent
b22f760042
commit
ad6b483746
5 changed files with 24 additions and 15 deletions
|
|
@ -720,7 +720,7 @@ 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 = ('simple', ('!simple', 'simple'))`` Extra themes that can be inherited from, either
|
||||
``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,
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ extra explicitly inherited theme
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
THEMES = ('simple', ('!simple', 'simple'), ('!foo', 'foo'))
|
||||
THEMES = ['simple', ('!simple', 'simple'), ('!foo', 'foo')]
|
||||
|
||||
You can extend parent (inherited) or sibling (your own theme) templates
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue