Merge pull request #2234 from dwarvenhoard/feature/extension-setting

Add setting so template extensions are configurable
This commit is contained in:
Justin Mayer 2018-02-08 09:02:05 -08:00 committed by GitHub
commit 598f9fbc83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 5 deletions

View file

@ -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