Browse Source

Switch default blog

Bob Mottram 8 years ago
parent
commit
e605a7e495
No account linked to committer's email
3 changed files with 4 additions and 4 deletions
  1. 1
    1
      src/freedombone-app-blogstatic
  2. 2
    2
      src/freedombone-image-mesh
  3. 1
    1
      src/freedombone-mesh-blog

+ 1
- 1
src/freedombone-app-blogstatic View File

81
     echo '' >> $STATIC_BLOG_FILE
81
     echo '' >> $STATIC_BLOG_FILE
82
     echo 'DEFAULT_PAGINATION=False' >> $STATIC_BLOG_FILE
82
     echo 'DEFAULT_PAGINATION=False' >> $STATIC_BLOG_FILE
83
     echo 'RELATIVE_URLS=True' >> $STATIC_BLOG_FILE
83
     echo 'RELATIVE_URLS=True' >> $STATIC_BLOG_FILE
84
-    echo "THEME='themes/Just-Read'" >> $STATIC_BLOG_FILE
84
+    echo "THEME='themes/nice-blog'" >> $STATIC_BLOG_FILE
85
 }
85
 }
86
 
86
 
87
 function create_pelican_makefile {
87
 function create_pelican_makefile {

+ 2
- 2
src/freedombone-image-mesh View File

792
     if [ -d /home/$MY_USERNAME/CreateBlog/content ]; then
792
     if [ -d /home/$MY_USERNAME/CreateBlog/content ]; then
793
         shred -zu /home/$MY_USERNAME/CreateBlog/content/*
793
         shred -zu /home/$MY_USERNAME/CreateBlog/content/*
794
         if grep -q "THEME=" /home/$MY_USERNAME/CreateBlog/pelicanconf.py; then
794
         if grep -q "THEME=" /home/$MY_USERNAME/CreateBlog/pelicanconf.py; then
795
-            sed -i "s|THEME=.*|THEME='themes/Just-Read'|g" /home/$MY_USERNAME/CreateBlog/pelicanconf.py
795
+            sed -i "s|THEME=.*|THEME='themes/nice-blog'|g" /home/$MY_USERNAME/CreateBlog/pelicanconf.py
796
         else
796
         else
797
-            echo "THEME='themes/Just-Read'" >> /home/$MY_USERNAME/CreateBlog/pelicanconf.py
797
+            echo "THEME='themes/nice-blog'" >> /home/$MY_USERNAME/CreateBlog/pelicanconf.py
798
         fi
798
         fi
799
     fi
799
     fi
800
 
800
 

+ 1
- 1
src/freedombone-mesh-blog View File

186
                 is_selected='on'
186
                 is_selected='on'
187
             fi
187
             fi
188
         else
188
         else
189
-            if [[ "$a" == 'Just-Read' ]]; then
189
+            if [[ "$a" == 'nice-blog' ]]; then
190
                 is_selected='on'
190
                 is_selected='on'
191
             fi
191
             fi
192
         fi
192
         fi