conditionally link about.html

main
Ricard Illa 2021-02-06 19:55:28 +01:00
parent 220c6c5527
commit 689a17cfc4
1 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,11 @@ run_pystagit () {
mkdir -p "${out_dir}" && \
cd "${out_dir}" && \
/usr/bin/pystagit "${repo_dir}" && \
if [ -f about.html ]; then
ln -sf files.html index.html
else
ln -sf log.html index.html
fi
}
set_url () {