diff options
author | Preston Pan <preston@nullring.xyz> | 2022-11-08 10:31:10 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2022-11-08 10:31:10 -0800 |
commit | d859070ae1a6f428ecb9de1247e5811e2c79d951 (patch) | |
tree | 2b4091b80259cd66c013488366a13f91817b2e19 /finalize_build.sh | |
parent | dc2fd65e6bfeaa2c475d5042f64263ac9427c22f (diff) |
maybe fixed back button
Diffstat (limited to 'finalize_build.sh')
-rwxr-xr-x | finalize_build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/finalize_build.sh b/finalize_build.sh index 831acff..b48c6ca 100755 --- a/finalize_build.sh +++ b/finalize_build.sh @@ -6,7 +6,7 @@ for i in $(find "$ROOT_DIR" -type f -name '*.html'); do if [ "$(basename "$i")" = 'index.html' ]; then sed -i -e 's|<!--BACKDIR-->|\| <a href="\.\./index\.html">Back</a>|g' "$i" - elif [ "$i" == "*.html" ]; then + else sed -i -e 's|<!--BACKDIR-->|\| <a href="\./index\.html">Back</a>|g' "$i" fi done; |