Skip to content
Permalink
Browse files
Avoid replicating compiler detection logic.
  • Loading branch information
felixfontein committed Feb 16, 2017
1 parent e8dab6d commit 5a8cdbfba4fb3b45764004e692dc510cae13d7ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -2173,7 +2173,7 @@ def generic_renderer(self, lang, output_name, template_name, filters, file_deps=

def generic_page_renderer(self, lang, post, filters, context=None):
"""Render post fragments to final HTML pages."""
extension = self.get_compiler(post.source_path).extension()
extension = post.compiler.extension()
output_name = os.path.join(self.config['OUTPUT_FOLDER'],
post.destination_path(lang, extension))

0 comments on commit 5a8cdbf

Please sign in to comment.