Add static on main.py plain template
This commit is contained in:
parent
ba4ec31a04
commit
c03332884f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user