This commit is contained in:
parent
cf9c9649eb
commit
73e63a9f48
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ chdir('html')
|
|||
for f in [i for i in listdir() if i.endswith('.html')]:
|
||||
|
||||
# 1. Minify the index.html file using minify-html
|
||||
minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, minify_js=True, do_not_minify_doctype=True)
|
||||
minified_content = minify_html.minify(open(f, 'r').read(), minify_css=True, do_not_minify_doctype=True)
|
||||
|
||||
# 2. Upload the file to an FTP server
|
||||
|
||||
|
|
Loading…
Reference in a new issue