diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2021-11-29 20:46:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-29 20:46:07 +0100 |
| commit | 935e5ad4170b2c0e7125d36324809fceee70df5f (patch) | |
| tree | 7f5a959cbb86df61e58f8e4edc8d1043ee06179c /searx/static/themes/simple/gruntfile.js | |
| parent | 989f9e97f0225f72edca82d3ff02a0acc890bfa5 (diff) | |
| parent | 0afcde071cc01493786fd21c57577f0da4a3cf3d (diff) | |
Merge pull request #558 from return42/svg-favicon
[enh] add SVG favicon href="favicon.svg" type="image/svg+xml"
Diffstat (limited to 'searx/static/themes/simple/gruntfile.js')
| -rw-r--r-- | searx/static/themes/simple/gruntfile.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js index 8075e0797..b7501c732 100644 --- a/searx/static/themes/simple/gruntfile.js +++ b/searx/static/themes/simple/gruntfile.js @@ -150,7 +150,15 @@ module.exports = function(grunt) { '<%= _templates %>/__common__/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg', 'img/searxng.svg': '<%= _brand %>/searxng.svg' } - } + }, + favicon: { + options: { + svgo: ['--config', 'svg4favicon.svgo.js'] + }, + files: { + 'img/favicon.svg': '<%= _brand %>/searxng-wordmark.svg' + } + }, }, svg2png: { favicon: { |