From c03332884ff9e5fb2d09de2953eddc69d3f1c815 Mon Sep 17 00:00:00 2001 From: ditaajipratama Date: Wed, 31 Jul 2024 10:27:34 +0700 Subject: [PATCH] Add static on main.py plain template --- app/templates/plain/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/templates/plain/main.py b/app/templates/plain/main.py index 86fd363..f492fcd 100644 --- a/app/templates/plain/main.py +++ b/app/templates/plain/main.py @@ -7,6 +7,13 @@ from core import html +static = [ + { + "route" : "/templates/plain/css/", + "root" : "./templates/plain/static/css" + } +] + def main(dir, page): html_template = html.main.get_html("templates/plain/html") html_page = html.main.get_html(dir)