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) return { "index" : html_template [ "index.html" ], "navbar" : html_template [ "navbar.html" ], "footer" : html_template [ "footer.html" ], "container" : html_page [f"{page}.html" ] }