texample.sh: make symlinks to style, icons and index by default - stagit - static git page generator
(HTM) git clone git://src.adamsgaard.dk/stagit
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 289ecda4aa8688b65300ae647912d791246e4abd
(DIR) parent 4f318941d086371f4e87f1e7b96f1c029f8766c2
(HTM) 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(-)
---
(DIR) diff --git a/example.sh b/example.sh
t@@ -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