Limit file types

This commit is contained in:
Bob Mottram 2017-12-30 20:21:07 +00:00
parent 363938c900
commit e0b65c318b
1 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,8 @@ function remove_bad_blog_links {
current_theme=$1
cd $BLOG_PATH/themes/$current_theme
find ./ -type f -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
}
function ipfs_publish {
@ -83,7 +84,8 @@ function regenerate_blog {
# remova any google fonts
cd $BLOG_PATH
find ./ -type f -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
find ./ -type f -name *.css -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
find ./ -type f -name *.html -exec sed -i -e 's/fonts.googleapis.com/localhost/g' {} \;
ipfs_publish
}