summaryrefslogtreecommitdiff
path: root/process_static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-12-10 10:44:17 -0500
committerDaniel Micay <danielmicay@gmail.com>2020-12-10 10:44:17 -0500
commit6746fbacaf855bd9da517727d88a9859cc5b71d7 (patch)
treea30ea0dc654dab2729dfd7019c6776f60a6b5927 /process_static
parente76123094b2a38d3c284834e9f520f26bd0edcce (diff)
split long line
Diffstat (limited to 'process_static')
-rwxr-xr-xprocess_static6
1 files changed, 5 insertions, 1 deletions
diff --git a/process_static b/process_static
index 0d0ab9a7..329c994e 100755
--- a/process_static
+++ b/process_static
@@ -12,7 +12,11 @@ for file in static_tmp/**/*.@(json|webmanifest); do
json_reformat -m < "$file" | sponge "$file"
done
-find static_tmp -name '*.html' -exec html-minifier --collapse-whitespace --process-scripts "application/ld+json" --collapse-boolean-attributes --remove-attribute-quotes --remove-comments --remove-empty-attributes --remove-redundant-attributes --remove-script-type-attributes --remove-style-link-type-attributes --sort-attributes --sort-class-name {} -o {} \;
+find static_tmp -name '*.html' -exec html-minifier --collapse-whitespace \
+ --process-scripts "application/ld+json" --collapse-boolean-attributes \
+ --remove-attribute-quotes --remove-comments --remove-empty-attributes \
+ --remove-redundant-attributes --remove-script-type-attributes \
+ --remove-style-link-type-attributes --sort-attributes --sort-class-name {} -o {} \;
./generate_feed.py