Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[mod] gruntfile.js - define grunt.template _brand & _templates

Markus Heiser4330d7cf5d5b
diff --git a/searx/static/themes/simple/gruntfile.js b/searx/static/themes/simple/gruntfile.js
index a82c0ab1c..006d64417 100644
--- a/searx/static/themes/simple/gruntfile.js
+++ b/searx/static/themes/simple/gruntfile.js
@@ -5,6 +5,10 @@ module.exports = function(grunt) {
const path = require('path');
grunt.initConfig({
+
+ _brand: '../../../../src/brand',
+ _templates: '../../../templates',
+
pkg: grunt.file.readJSON('package.json'),
watch: {
scripts: {
@@ -102,7 +106,7 @@ module.exports = function(grunt) {
svgo: ['--config', 'svg4web.svgo.js']
},
files: {
- '../../../templates/__common__/searxng-wordmark.min.svg': '../../../../src/brand/searxng-wordmark.svg'
+ '<%= _templates %>/__common__/searxng-wordmark.min.svg': '<%= _brand %>/searxng-wordmark.svg'
}
}
},