diff options
author | Martin Fischer <martin@push-f.com> | 2022-01-31 11:24:45 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-01 06:28:26 +0100 |
commit | fb9eedbf40410a5558bfc03b4c50f7ff41b023b4 (patch) | |
tree | 1b722cca8af208f9e267cd3b1e18fc26a89cc759 /searx/templates | |
parent | b93711b45da7e8d851be5a3d55ebf6fbe5423efd (diff) | |
download | searxng-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.html | 6 | ||||
-rw-r--r-- | searx/templates/oscar/help.html | 5 | ||||
-rw-r--r-- | searx/templates/simple/about.html | 5 | ||||
-rw-r--r-- | searx/templates/simple/help.html | 5 |
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 %} |