Add list of static directory

This commit is contained in:
Dita Aji Pratama 2024-07-28 06:16:01 +07:00
parent 6b61d72608
commit fe248b6ef5
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,12 @@
from core import html
static = [
{
"route" : "/templates/kiddy/css/<filepath:re:.*\.(css|sass|css.map)>",
"root" : "./templates/kiddy/static/css"
}
]
def main(dir, page):
html_template = html.main.get_html("templates/kiddy/html")
html_page = html.main.get_html(dir)

View File

@ -92,7 +92,6 @@ body {
.price-plan {
padding: 50px 0;
text-align: center;
background-color: #fff;
}
.price-plan h2 {
font-size: 2.5em;