commit cf8b4dcc08bd319131f0187fb6c37e4feb965a03
parent a29b793638379526036be083c143043190ee5516
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Sun, 16 Aug 2020 12:21:19 +0200
Add about page setup to make-public
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/make-public b/make-public
@@ -35,7 +35,9 @@ cd "$webdir/$d" || continue
stagit -c ".stagit-build-cache" "$reposdir/$r"
# symlinks
-ln -sf log.html index.html
+[ -f "about.html" ] \
+ && ln -sf about.html index.html \
+ || ln -sf log.html index.html
ln -sf "$reposdir/$r" ".git"
echo "done"