Merge pull request #617 from mrpaulblack/fix-error-svg
[fix] theme: build `img_load_error.svg` as SVG instead of PNG
This commit is contained in:
commit
24f4ec530d
Binary file not shown.
BIN
searx/static/themes/oscar/js/searxng.min.js
vendored
BIN
searx/static/themes/oscar/js/searxng.min.js
vendored
Binary file not shown.
Binary file not shown.
@ -129,7 +129,8 @@ module.exports = function (grunt) {
|
|||||||
},
|
},
|
||||||
files: {
|
files: {
|
||||||
'<%= _templates %>/__common__/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
|
'<%= _templates %>/__common__/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg',
|
||||||
'img/searxng.svg': '<%= _brand %>/searxng.svg'
|
'img/searxng.svg': '<%= _brand %>/searxng.svg',
|
||||||
|
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
favicon: {
|
favicon: {
|
||||||
@ -146,7 +147,6 @@ module.exports = function (grunt) {
|
|||||||
files: {
|
files: {
|
||||||
'img/favicon.png': '<%= _brand %>/searxng-wordmark.svg',
|
'img/favicon.png': '<%= _brand %>/searxng-wordmark.svg',
|
||||||
'img/searxng.png': '<%= _brand %>/searxng.svg',
|
'img/searxng.png': '<%= _brand %>/searxng.svg',
|
||||||
'img/img_load_error.svg': '<%= _brand %>/img_load_error.svg'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user