example.sh: make symlinks to style, icons and index by default
authorHiltjo Posthuma <hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:40:26 +0000 (21:40 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Tue, 5 Jan 2016 20:40:26 +0000 (21:40 +0100)
example.sh

index 55285cc5984d2560b5b7ddf114cef84e2f980396..12e92c79602a89bea255361abc53455855f43304 100644 (file)
@@ -34,4 +34,10 @@ find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do
        stagit "${reposdir}${d}"
 
        printf " done\n"
+
+       # symlinks
+       ln -sf log.html index.html
+       ln -sf ../style.css style.css
+       ln -sf ../logo.png logo.png
+       ln -sf ../favicon.png favicon.png
 done