From 4952b414861368c3c9528cb8b01248dbffe2c6fe Mon Sep 17 00:00:00 2001
From: Ahmed
Date: Thu, 18 Jun 2026 00:40:01 +0300
Subject: fix: hook issue
---
hooks/post-receive | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/hooks/post-receive b/hooks/post-receive
index 722a0ec..2d13cc2 100644
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -40,4 +40,50 @@ for path in glob.glob(os.path.join(webroot, '**', '*.html'), recursive=True):
html = html.replace('
+
+
+404 not found.
+
+
+', footer + '\n', 1)
open(path, 'w').write(html)
EOF
+cat > "$WEBROOT/404.html" <<'HTMLEOF'
+
+
+
+
+
+
+
404 not found
+
+
+
+