Ver código fonte

Remove bad css from selected blog

Bob Mottram 7 anos atrás
pai
commit
d61d410746
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-mesh-blog

+ 1
- 0
src/freedombone-mesh-blog Ver arquivo

@@ -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