stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit 00cb2cbf8e098da10580fb156c5dfe9f0f3834aa parent a5d8a9d46e4466d50191934454a45e04620bfee8 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Tue, 5 Jan 2016 21:40:26 +0100 example.sh: make symlinks to style, icons and index by default Diffstat:
| M | example.sh | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/example.sh b/example.sh @@ -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