grenoble-metropole: preserve CSS classes

This commit is contained in:
Serghei Mihai 2018-07-01 14:28:32 +02:00
parent fcac351568
commit 89cd4d0c4e
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ content = content.replace(FILENAME, '')
# remove copy of jquery
content = re.sub('<script src=.*jquery.min.js.*', '', content)
content = content.replace('<script>document.body.className="withJS"</script>', '')
content = content.replace('<body',
r'<body {% block bodyargs %}{% endblock %} ')