mirror of
https://gitlab.com/octtspacc/sitoctt
synced 2025-06-05 22:09:20 +02:00
Fixes to search, local-file-tweaks, test ajax-navigation, update Buttons, add offline.zip packaging
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user