diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2023-02-16 20:35:05 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2023-02-16 20:35:05 -0500 |
| commit | 4d7c2bfc2c9e3769dbc5a34a706b9d4cb8d0a14a (patch) | |
| tree | 84e44f3ce6de7af2cbfb31126e1c47278905ba87 /process-static | |
| parent | 62010eb00fb181037a77358e1e6dae0eac7efa0f (diff) | |
use pixelated image rendering mode for QR codes
Diffstat (limited to 'process-static')
| -rwxr-xr-x | process-static | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/process-static b/process-static index 0ce73f92..a8e2e38d 100755 --- a/process-static +++ b/process-static @@ -77,7 +77,8 @@ sed -i "$replace" static-tmp/releases.html gixy nginx-tmp/nginx.conf xmllint --noout static-tmp/**/*.html -java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg) +# check CSS first to work around a validator bug +java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/*.css static-tmp/**/!(bimi).@(html|svg) 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 \ |
