Commit a9d2c1fe authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Minor cleaning

parent 0dafd8d6
......@@ -85,7 +85,6 @@ class HomePage:
# Inject variables into html_template
full_template_path = config['configpath'] / TEMPLATE_PATH
print(full_template_path, os.path.exists(full_template_path.as_posix()))
env = jinja2.Environment(loader=jinja2.FileSystemLoader(
full_template_path.as_posix()))
template = env.get_template(self.html_template)
......@@ -109,7 +108,6 @@ class MarkdownPage(HomePage):
self.src = Path(src)
self.parent = parent
def render(self, config):
"""Render markdown file into html file adding ToC"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment