summaryrefslogtreecommitdiff
path: root/update-theme.sh
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2022-10-21 22:34:37 +0200
committerChristoph Cullmann <cullmann@kde.org>2022-10-21 22:34:37 +0200
commitcbc70f4341add2afb064bdcf64f5434a879555f6 (patch)
tree3fe5747f75f238764a62b8534797a72b3dbd65a3 /update-theme.sh
parentd9364d2799a952d018d7ee9ab27beaa7db561482 (diff)
try to have full links in rss to images
Diffstat (limited to 'update-theme.sh')
-rwxr-xr-xupdate-theme.sh3
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