Reset the blog theme
This commit is contained in:
parent
7213289826
commit
0b5cdc30bb
|
@ -767,6 +767,11 @@ function setup_ipfs {
|
|||
|
||||
if [ -d /home/$MY_USERNAME/CreateBlog/content ]; then
|
||||
shred -zu /home/$MY_USERNAME/CreateBlog/content/*
|
||||
if grep -q "THEME=" /home/$MY_USERNAME/CreateBlog/pelicanconf.py; then
|
||||
sed -i "s|THEME=.*|THEME='themes/Just-Read'|g" /home/$MY_USERNAME/CreateBlog/pelicanconf.py
|
||||
else
|
||||
echo "THEME='themes/Just-Read'" >> /home/$MY_USERNAME/CreateBlog/pelicanconf.py
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /home/$MY_USERNAME/.ipfs ]; then
|
||||
|
|
Loading…
Reference in New Issue