noxz-sites

A collection of a builder and various scripts creating the noxz.tech sites
git clone https://noxz.tech/git/noxz-sites.git
Log | Files | README | LICENSE

commit: 8f7a850c088e061ac918d64446e09bbb9b6cbd63
parent: 83ab1be4f7ef9bdd931ec03be80fcf78161e1254
author: Chris Noxz <chris@noxz.tech>
date:   Fri, 25 Oct 2019 20:07:28 +0200
Include commit files in link fix
Mbuild-git.sh1+
1 file changed, 1 insertion(+)
diff --git a/build-git.sh b/build-git.sh
@@ -44,6 +44,7 @@ for dir in "${reposdir}/"*/; do
         [ ! -d "$new_dir" ] && mkdir -p "$new_dir"
         mv "$dotfile" "$new_name"
         sed -i -e "s|href=\"$dotfile\"|href=\"$new_name\"|g" files.html
+        sed -i -e "s|href=\"../$dotfile\"|href=\"../$new_name\"|g" commit/*.html
     done
 
     # remove empty directories after rename