Do no minify HTML on websites
This commit is contained in:
parent
96d1285b4f
commit
daeaf25858
|
@ -59,13 +59,6 @@ set :markdown, fenced_code_blocks: true
|
|||
configure :build do
|
||||
activate :asset_hash
|
||||
activate :minify_css
|
||||
activate :minify_html do |html|
|
||||
html.remove_quotes = false
|
||||
html.remove_script_attributes = false
|
||||
html.remove_multi_spaces = false
|
||||
html.remove_http_protocol = false
|
||||
html.remove_https_protocol = false
|
||||
end
|
||||
activate :minify_javascript
|
||||
|
||||
# Enable cache buster
|
||||
|
|
|
@ -33,12 +33,5 @@ end
|
|||
configure :build do
|
||||
activate :asset_hash
|
||||
activate :minify_css
|
||||
activate :minify_html do |html|
|
||||
html.remove_quotes = false
|
||||
html.remove_script_attributes = false
|
||||
html.remove_multi_spaces = false
|
||||
html.remove_http_protocol = false
|
||||
html.remove_https_protocol = false
|
||||
end
|
||||
activate :minify_javascript
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue