Limit file types
This commit is contained in:
parent
363938c900
commit
e0b65c318b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue