Remove dubious pelican theme css at install time

This commit is contained in:
Bob Mottram 2017-12-09 15:01:48 +00:00
parent 85126cec66
commit 4bb3d4b0b4
1 changed files with 8 additions and 0 deletions

View File

@ -741,6 +741,14 @@ function pelican_themes {
git clone https://github.com/samael500/w3-personal-blog
git clone https://github.com/jarv/water-iris
git clone https://github.com/kplaube/yapeme
# remove any dubious css
for d in */ ; do
THEME_NAME=$(echo "$d" | awk -F '/' '{print $1}')
if [ -d $d/static/css/style.css ]; then
sed -i '/googleapi/d' $d/static/css/style.css
fi
done
}
function mesh_install_pelican {