summaryrefslogtreecommitdiff
path: root/update-theme.sh
blob: 12d2a0d5b0b522566357b6dcad95394f5a528502 (plain)
1
2
3
4
5
6
7
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@safeURL@safeURL | absURL@g' themes/PaperMod/layouts/_default/_markup/render-image.html
git add themes