Generate a basic favicon dynamically
This commit is contained in:
parent
edae9a6b62
commit
d88a1ad5ba
6 changed files with 29 additions and 1 deletions
3
tasks.py
3
tasks.py
|
@ -44,6 +44,9 @@ def lint(ctx):
|
|||
@task
|
||||
def compile_scss(ctx, watch=False):
|
||||
# type: (Context, bool) -> None
|
||||
from app.utils.favicon import build_favicon
|
||||
|
||||
build_favicon()
|
||||
theme_file = Path("data/_theme.scss")
|
||||
if not theme_file.exists():
|
||||
theme_file.write_text("// override vars for theming here")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue