1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2026-01-01 20:45:18 +00:00

Remove the value of img_cdn and avatar from the gem package

This commit is contained in:
Cotes Chung
2021-10-03 18:39:00 +08:00
parent 3d6304efd8
commit 565ad9229c
2 changed files with 13 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ init_files() {
rm -f "$_workflow.$TEMP_SUFFIX"
## Cleanup image settings in site config
sed -i.$TEMP_SUFFIX "s/^img_cdn:.*/img_cdn: ''/;s/^avatar:.*/avatar: ''/" _config.yml
sed -i.$TEMP_SUFFIX "s/^img_cdn:.*/img_cdn:/;s/^avatar:.*/avatar:/" _config.yml
rm -f _config.yml.$TEMP_SUFFIX
fi