summaryrefslogtreecommitdiff
path: root/scraper
diff options
context:
space:
mode:
Diffstat (limited to 'scraper')
-rw-r--r--scraper/builder.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scraper/builder.py b/scraper/builder.py
index 73d6bfb3..c55b6dff 100644
--- a/scraper/builder.py
+++ b/scraper/builder.py
@@ -49,7 +49,10 @@ def build_file(fn):
groups.append(normal_section(current_group))
content = "".join(groups)
- template = env.get_template("page.html")
+ if 'blog/' in fn:
+ template = env.get_template("blog.html")
+ else:
+ template = env.get_template("page.html")
html = template.render(metadata=metadata, content=content)
os.makedirs(output_path, exist_ok=True)