From fe915f524d99f438772169a5b8ead125f1a66914 Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Sat, 19 Apr 2025 21:23:34 +0200 Subject: [PATCH] change file extension to html.j2 for templates --- app/src/web/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/web/routes.py b/app/src/web/routes.py index 4059c01..112d4fc 100644 --- a/app/src/web/routes.py +++ b/app/src/web/routes.py @@ -34,12 +34,12 @@ def utility_processor(): @web_routes.route('/') async def index(): - return await render_template('index.html', fetch_url='/data-fetch') + return await render_template('index.html.j2', fetch_url='/data-fetch') @web_routes.route('/page') async def empty(): - return await render_template('empty.html') + return await render_template('empty.html.j2') @web_routes.route('/data-fetch')