|
@@ -206,6 +206,7 @@ function change_theme {
|
206
|
206
|
CHOSEN_THEME_INDEX=$((CHOSEN_THEME_INDEX - 1))
|
207
|
207
|
|
208
|
208
|
CHOSEN_THEME=${THEMES[$CHOSEN_THEME_INDEX]}
|
|
209
|
+ remove_bad_blog_links $CHOSEN_THEME
|
209
|
210
|
if grep -q "THEME=" $BLOG_PATH/pelicanconf.py; then
|
210
|
211
|
sed -i "s|THEME=.*|THEME='themes/${CHOSEN_THEME}'|g" $BLOG_PATH/pelicanconf.py
|
211
|
212
|
else
|