Remove dubious pelican theme css at install time
This commit is contained in:
parent
85126cec66
commit
4bb3d4b0b4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue