|
@@ -45,8 +45,8 @@ function remove_bad_blog_links {
|
45
|
45
|
current_theme=$1
|
46
|
46
|
|
47
|
47
|
cd $BLOG_PATH/themes/$current_theme
|
48
|
|
- find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
|
49
|
|
- find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
|
|
48
|
+ find ./ -type f -name *.css -exec sed -i -e '/fonts.googleapis.com/d' {} \;
|
|
49
|
+ find ./ -type f -name *.html -exec sed -i -e '/fonts.googleapis.com/d' {} \;
|
50
|
50
|
}
|
51
|
51
|
|
52
|
52
|
function ipfs_publish {
|
|
@@ -82,10 +82,10 @@ function regenerate_blog {
|
82
|
82
|
fi
|
83
|
83
|
make html
|
84
|
84
|
|
85
|
|
- # remova any google fonts
|
|
85
|
+ # remove any google fonts
|
86
|
86
|
cd $BLOG_PATH
|
87
|
|
- find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
|
88
|
|
- find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
|
|
87
|
+ find ./ -type f -name *.css -exec sed -i -e '/fonts.googleapis.com/d' {} \;
|
|
88
|
+ find ./ -type f -name *.html -exec sed -i -e '/fonts.googleapis.com/d' {} \;
|
89
|
89
|
|
90
|
90
|
ipfs_publish
|
91
|
91
|
}
|