From feea3d65ed9c56a83313955fa23397374efc631b Mon Sep 17 00:00:00 2001 From: Ahmed Date: Thu, 18 Jun 2026 00:11:28 +0300 Subject: fix: favicon, and inner pages style --- hooks/post-receive | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'hooks') diff --git a/hooks/post-receive b/hooks/post-receive index fe4f5f6..25ae829 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -22,7 +22,14 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f ;; demo.gumx.cc) # no-style-please/ is managed by zola-no-style-please repo; demos.json is a source file - rsync -rlptD --delete --exclude='/fonts' --exclude='/no-style-please/' --exclude='/demos.json' "$SITE/" "$WEBROOT/" + # /ccc/ and /styles/ are managed by ccc repo hook — do not delete + rsync -rlptD --delete \ + --exclude='/fonts' \ + --exclude='/no-style-please/' \ + --exclude='/demos.json' \ + --exclude='/ccc/' \ + --exclude='/styles/' \ + "$SITE/" "$WEBROOT/" ;; *) rsync -rlptD --delete --exclude='/fonts' "$SITE/" "$WEBROOT/" @@ -30,6 +37,7 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f esac mkdir -p "$WEBROOT/fonts" rsync -rlptD fonts/ "$WEBROOT/fonts/" + cp _shared/favicon.svg "$WEBROOT/favicon.svg" cp _shared/404.html "$WEBROOT/404.html" fi done -- cgit v1.2.3