Move default theme into themes directory, make themes directory a thing.
This commit is contained in:
parent
6e09563d35
commit
1e581f0867
@ -5,10 +5,7 @@ include bemani/frontend/static/*.css
|
||||
include bemani/frontend/static/*.js
|
||||
include bemani/frontend/static/*.gif
|
||||
include bemani/frontend/static/*.png
|
||||
include bemani/frontend/static/default/*.css
|
||||
include bemani/frontend/static/default/*.js
|
||||
include bemani/frontend/static/default/*.gif
|
||||
include bemani/frontend/static/default/*.png
|
||||
graft bemani/frontend/static/themes
|
||||
include bemani/frontend/static/components/*.js
|
||||
include bemani/frontend/static/controllers/*.js
|
||||
include bemani/frontend/static/controllers/admin/*.js
|
||||
|
@ -263,7 +263,7 @@ def jinja2_any(lval: Optional[List[Any]], pull: str, equals: str) -> bool:
|
||||
|
||||
|
||||
def jinja2_theme(filename: str) -> str:
|
||||
return url_for('static', filename=f"{config.theme}/{filename}")
|
||||
return url_for('static', filename=f"themes/{config.theme}/{filename}")
|
||||
|
||||
|
||||
@app.context_processor
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user