Changing blog themes

This commit is contained in:
Bob Mottram 2016-09-09 10:12:34 +01:00
parent 63ba1c993a
commit 93bbbaa3c4
No known key found for this signature in database
GPG Key ID: 0452CC7CEA982E38
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ function change_theme {
CHOSEN_THEME=${THEMES[$CHOSEN_THEME_INDEX]}
if grep -q "THEME=" $BLOG_PATH/pelicanconf.py; then
sed -i "s|THEME=.*|THEME='themes/${CHOSEN_THEME}'|g"
sed -i "s|THEME=.*|THEME='themes/${CHOSEN_THEME}'|g" $BLOG_PATH/pelicanconf.py
else
echo "THEME='themes/${CHOSEN_THEME}'" >> $BLOG_PATH/pelicanconf.py
fi