diff options
Diffstat (limited to 'update-theme.sh')
-rwxr-xr-x | update-theme.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update-theme.sh b/update-theme.sh index 8a433e7..12d2a0d 100755 --- a/update-theme.sh +++ b/update-theme.sh @@ -2,5 +2,6 @@ rm -rf themes mkdir themes git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 rm -rf themes/PaperMod/.git* -sed -i s@localStorage.setItem@//localStorage.setItem@g themes/PaperMod/layouts/partials/footer.html +sed -i 's@localStorage.setItem@//localStorage.setItem@g' themes/PaperMod/layouts/partials/footer.html +sed -i 's@safeURL@safeURL | absURL@g' themes/PaperMod/layouts/_default/_markup/render-image.html git add themes |