Remove bad css from selected blog
This commit is contained in:
parent
db3cc4f5af
commit
d61d410746
|
@ -206,6 +206,7 @@ function change_theme {
|
||||||
CHOSEN_THEME_INDEX=$((CHOSEN_THEME_INDEX - 1))
|
CHOSEN_THEME_INDEX=$((CHOSEN_THEME_INDEX - 1))
|
||||||
|
|
||||||
CHOSEN_THEME=${THEMES[$CHOSEN_THEME_INDEX]}
|
CHOSEN_THEME=${THEMES[$CHOSEN_THEME_INDEX]}
|
||||||
|
remove_bad_blog_links $CHOSEN_THEME
|
||||||
if grep -q "THEME=" $BLOG_PATH/pelicanconf.py; then
|
if grep -q "THEME=" $BLOG_PATH/pelicanconf.py; then
|
||||||
sed -i "s|THEME=.*|THEME='themes/${CHOSEN_THEME}'|g" $BLOG_PATH/pelicanconf.py
|
sed -i "s|THEME=.*|THEME='themes/${CHOSEN_THEME}'|g" $BLOG_PATH/pelicanconf.py
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue