mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Sun 17 Apr 17:18:56 EEST 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
0b1e7dd55e
commit
08195a64f0
1 changed files with 3 additions and 0 deletions
|
@ -269,6 +269,8 @@ def build(config: Dict) -> Tuple[int, Dict]:
|
||||||
sys.stdout.close()
|
sys.stdout.close()
|
||||||
sys.stdout = saved_stdout
|
sys.stdout = saved_stdout
|
||||||
|
|
||||||
|
log("Done minifying CSS", "MINIFY")
|
||||||
|
|
||||||
Thread(target=build_css, daemon=True).start()
|
Thread(target=build_css, daemon=True).start()
|
||||||
|
|
||||||
log("Building blogs...", "INFO")
|
log("Building blogs...", "INFO")
|
||||||
|
@ -313,6 +315,7 @@ def build(config: Dict) -> Tuple[int, Dict]:
|
||||||
if blog_meta["minimise"]:
|
if blog_meta["minimise"]:
|
||||||
log(f"Minifying {blog_name!r} HTML", "MINIFY")
|
log(f"Minifying {blog_name!r} HTML", "MINIFY")
|
||||||
blog_html_full = html_minify(blog_html_full)
|
blog_html_full = html_minify(blog_html_full)
|
||||||
|
log(f"Done minifying HTML of {blog_name!r}", "MINIFY")
|
||||||
|
|
||||||
blog_html.write(blog_html_full)
|
blog_html.write(blog_html_full)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue