From bf52353a5c3d0ba7bebde209c916d492fe521159 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 7 Nov 2021 16:45:00 +0100 Subject: [enh] minify searxng-wordmark.svg (HTMLMinifier) Command:: ./node_modules/.bin/html-minifier \ --remove-comments \ --collapse-whitespace \ src/svg/searxng-wordmark.svg \ -o ../../../templates/__common__/searxng-wordmark.min.svg - html-minifier: https://github.com/kangax/html-minifier - onilne: https://kangax.github.io/html-minifier - grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin - grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin - npm: https://www.npmjs.com/package/html-minifier To test, rebuild your node environment:: make node.env Alternatives: - pretty-data: https://github.com/vkiryukhin/pretty-data - grunt: https://www.npmjs.com/package/grunt-xmlmin - grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin - npm: https://www.npmjs.com/package/grunt-xmlmin - minify-xml: https://github.com/kristian/minify-xml - no grunt package available - npm: https://www.npmjs.com/package/minify-xml src/svg/searxng-wordmark.svg': '../../../templates/__common__/searxng-wordmark.min.svg' Signed-off-by: Markus Heiser --- searx/templates/__common__/searxng-wordmark.min.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 searx/templates/__common__/searxng-wordmark.min.svg (limited to 'searx/templates') diff --git a/searx/templates/__common__/searxng-wordmark.min.svg b/searx/templates/__common__/searxng-wordmark.min.svg new file mode 100644 index 000000000..35b4cac25 --- /dev/null +++ b/searx/templates/__common__/searxng-wordmark.min.svg @@ -0,0 +1 @@ + image/svg+xml \ No newline at end of file -- cgit v1.2.3 From ee67a65180cd5cb4faeda310c6c6af10391435b6 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 8 Nov 2021 11:05:02 +0100 Subject: [simple theme] replace old searx logo by searxng-wordmark.min.svg Suggested-by: @dalf https://github.com/searxng/searxng/pull/473#issuecomment-962476683 Suggested-by: @MrPaulBlack https://github.com/searxng/searxng/pull/473#issuecomment-962579826 Signed-off-by: Markus Heiser --- searx/templates/simple/search.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'searx/templates') diff --git a/searx/templates/simple/search.html b/searx/templates/simple/search.html index f8c82cd1b..1f410ad96 100644 --- a/searx/templates/simple/search.html +++ b/searx/templates/simple/search.html @@ -1,6 +1,7 @@