Fixes to search, local-file-tweaks, test ajax-navigation, update Buttons, add offline.zip packaging

This commit is contained in:
2024-08-31 00:58:33 +02:00
parent 745267cf49
commit 89134ffb37
25 changed files with 199 additions and 85 deletions

View File

@@ -37,7 +37,11 @@ nicename="$(echo "${nicepath}" | rev | cut -d/ -f1 | rev)"
# fi
#done
for path in "${nicepath}" #${extrapaths}
do sed -e "s|{URL}|./${nicename}/|g" ../../redirectTemplate.html > "${path}.html"
do cat ../layouts/alias.html \
| sed -e "s|{{ .Permalink }}|./${nicename}/|g" \
| sed -e "s|{{ $canonicalUrl }}|./${nicename}/|g" \
| sed -e "s|{{ site.Language.LanguageCode }}||g" \
> "${path}.html"
done
#if [ "$(echo "{}" | cut -d/ -f2)" = it ]
#then