Skip to content

Commit

Permalink
Fix #2816 — use inheritance tree when looking for theme engine (#2818)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska authored and ralsina committed Jun 4, 2017
1 parent 253ecfa commit 7b355d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -20,6 +20,7 @@ Features
Bugfixes
--------

* Use inheritance tree when looking for theme engine (Issue #2816)
* Fix unbound variable error in locale guessing (Issue #2806)

New in v7.8.6
Expand Down
4 changes: 2 additions & 2 deletions nikola/utils.py
Expand Up @@ -647,8 +647,8 @@ def get_template_engine(themes):
if os.path.isfile(engine_path):
with open(engine_path) as fd:
return fd.readlines()[0].strip()
# default
return 'mako'
# default
return 'mako'


def get_parent_theme_name(theme_name, themes_dirs=None):
Expand Down

0 comments on commit 7b355d3

Please sign in to comment.