mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2025-06-05 21:59:23 +02:00
Remove data/_theme.scss from git history
- Remove data/_theme.scss from git history, to prevent accidental overwrites/commits - Add a step to the configuration wizard to create a blank file if one doesn't exist - Move the file existence check in compile-scss to before favicon building (as it errors if the file is missing) Fixes https://todo.sr.ht/~tsileo/microblog.pub/67
This commit is contained in:
@ -25,6 +25,10 @@ def _(event):
|
||||
|
||||
|
||||
def main() -> None:
|
||||
theme_file = Path("data/_theme.scss")
|
||||
if not theme_file.exists():
|
||||
theme_file.write_text("// override vars for theming here")
|
||||
|
||||
print("Welcome to microblog.pub setup wizard\n")
|
||||
print("Generating key...")
|
||||
if _KEY_PATH.exists():
|
||||
|
Reference in New Issue
Block a user