Add static on main.py plain template

This commit is contained in:
Dita Aji Pratama 2024-07-31 10:27:34 +07:00
parent ba4ec31a04
commit c03332884f

View File

@ -7,6 +7,13 @@
from core import html
static = [
{
"route" : "/templates/plain/css/<filepath:re:.*\.(css|sass|css.map)>",
"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)