mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
made template extensions configurable
This commit is contained in:
parent
71625af8a4
commit
88da1b89cb
3 changed files with 17 additions and 5 deletions
|
|
@ -699,6 +699,10 @@ Template pages
|
|||
'src/resume.html': 'dest/resume.html',
|
||||
'src/contact.html': 'dest/contact.html'}
|
||||
|
||||
.. data:: TEMPLATE_EXTENSION = ['.html']
|
||||
|
||||
The extensions to use when looking up template files from template names.
|
||||
|
||||
.. data:: DIRECT_TEMPLATES = ['index', 'categories', 'authors', 'archives']
|
||||
|
||||
List of templates that are used directly to render content. Typically direct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue