summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-31 11:24:45 +0100
committerMartin Fischer <martin@push-f.com>2022-02-01 06:28:26 +0100
commitfb9eedbf40410a5558bfc03b4c50f7ff41b023b4 (patch)
tree1b722cca8af208f9e267cd3b1e18fc26a89cc759 /searx/templates
parentb93711b45da7e8d851be5a3d55ebf6fbe5423efd (diff)
downloadsearxng-fb9eedbf40410a5558bfc03b4c50f7ff41b023b4.tar.gz
searxng-fb9eedbf40410a5558bfc03b4c50f7ff41b023b4.zip
[enh] introduce /help route
Translation will be implemented in the future. For now the "en" in /help/en/<pagename> is hardcoded.
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/oscar/about.html6
-rw-r--r--searx/templates/oscar/help.html5
-rw-r--r--searx/templates/simple/about.html5
-rw-r--r--searx/templates/simple/help.html5
4 files changed, 10 insertions, 11 deletions
diff --git a/searx/templates/oscar/about.html b/searx/templates/oscar/about.html
deleted file mode 100644
index a644761b6..000000000
--- a/searx/templates/oscar/about.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% extends "oscar/base.html" %}
-{% block title %}{{ _('about') }} - {% endblock %}
-{% block content %}
-{{ help.about | safe }}
-{% include "__common__/aboutextend.html" ignore missing %}
-{% endblock %}
diff --git a/searx/templates/oscar/help.html b/searx/templates/oscar/help.html
new file mode 100644
index 000000000..7865f6649
--- /dev/null
+++ b/searx/templates/oscar/help.html
@@ -0,0 +1,5 @@
+{% extends "oscar/base.html" %}
+{% block title %}{{ page.title }} - {% endblock %}
+{% block content %}
+{{ page.content | safe }}
+{% endblock %}
diff --git a/searx/templates/simple/about.html b/searx/templates/simple/about.html
deleted file mode 100644
index f6a0a96a9..000000000
--- a/searx/templates/simple/about.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{% extends 'simple/page_with_header.html' %}
-{% block content %}
-{{ help.about | safe }}
-{% include "__common__/aboutextend.html" ignore missing %}
-{% endblock %}
diff --git a/searx/templates/simple/help.html b/searx/templates/simple/help.html
new file mode 100644
index 000000000..0be59f495
--- /dev/null
+++ b/searx/templates/simple/help.html
@@ -0,0 +1,5 @@
+{% extends 'simple/page_with_header.html' %}
+{% block title %}{{ page.title }} - {% endblock %}
+{% block content %}
+{{ page.content | safe }}
+{% endblock %}