summaryrefslogtreecommitdiff
path: root/searx/templates/simple/base.html
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-01-31 11:14:48 +0100
committerGitHub <noreply@github.com>2022-01-31 11:14:48 +0100
commitc82b9c68d282a2f674632ce0e0720da85c64a1c4 (patch)
tree6ad4efc466077d5ee7504a44dbc07e4b059d6db9 /searx/templates/simple/base.html
parent60e7fee47a2a994f5d1bc0850808787577c9e3cb (diff)
parent79dbbd4d99dcb28e709c7bca703ee97b6d55f906 (diff)
Merge pull request #843 from not-my-profile/simple-page-with-header
Diffstat (limited to 'searx/templates/simple/base.html')
-rw-r--r--searx/templates/simple/base.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index bb1f51cad..548710310 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -35,7 +35,7 @@
<link rel="icon" href="{{ url_for('static', filename='img/favicon.svg') }}" type="image/svg+xml">
</head>
<body class="{{ endpoint }}_endpoint" >
- <main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}">
+ <main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}" class="{{body_class}}">
{% if errors %}
<div class="dialog-error" role="alert">
<a href="#" class="close" aria-label="close" title="close">×</a>
@@ -47,6 +47,8 @@
</div>
{% endif %}
+ {% block header %}
+ {% endblock %}
{% block content %}
{% endblock %}
</main>