mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
fix theme path construction
This commit is contained in:
parent
d88cc86df2
commit
5642f11367
4 changed files with 19 additions and 19 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