costa-vite-myna/templates/basic_bootstrap/main.py

14 lines
459 B
Python
Raw Normal View History

2023-11-04 19:12:11 +07:00
from core import html
def main(dir, page):
html_template = html.main.get_html("templates/basic_bootstrap/html")
html_page = html.main.get_html(dir)
params_list = {
"template" : html_template ["template.html" ] ,
"topnav" : html_template ["topnav.html" ] ,
"footer" : html_template ["footer.html" ] ,
"container" : html_page [ page+".html" ]
}
return params_list