change file extension to html.j2 for templates

This commit is contained in:
Stefan Allius
2025-04-19 21:23:34 +02:00
parent 55972b2240
commit fe915f524d

View File

@@ -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')