diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-09 08:29:48 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-09 08:29:48 +0000 |
| commit | 2b1f73ad49b6f228830fd07c5cde8be0dcb29cd5 (patch) | |
| tree | 8ade565942e41583473189cd1a674156f33be045 /searx/templates/simple | |
| parent | b85d845636ec36bdd98d4d5cea21dd0d82fcdec9 (diff) | |
| parent | 785f0938fdc6c0b587d5f416f005ab5046260ba6 (diff) | |
Merge branch 'master' into about-opensearch
Diffstat (limited to 'searx/templates/simple')
| -rw-r--r-- | searx/templates/simple/base.html | 2 | ||||
| -rw-r--r-- | searx/templates/simple/macros.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 71df123ea..650ef771c 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -32,7 +32,7 @@ {% endblock %} <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.png') }}" /> </head> -<body> +<body class="{{ endpoint }}_endpoint" > <main id="main_{{ self._TemplateReference__context.name|replace("simple/", "")|replace(".html", "") }}"> {% if errors %} <div class="dialog-error" role="alert"> diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index f0b36276c..cacbbec9f 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -26,7 +26,7 @@ <!-- Draw result header --> {% macro result_header(result, favicons, image_proxify) -%} -<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}"> +<article class="result {% if result['template'] %}result-{{ result.template|replace('.html', '') }}{% else %}result-default{% endif %} {% if result['category'] %}category-{{ result['category'] }}{% endif %}{% for e in result.engines %} {{ e }}{% endfor %}"> {%- if result.img_src %}{{ result_open_link(result.url) }}<img class="image" src="{{ image_proxify(result.img_src) }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" class="image" />{{ result_close_link() }}{% endif -%} {%- if result.thumbnail %}{{ result_open_link(result.url) }}<img class="thumbnail" src="{{ image_proxify(result.thumbnail) }}" title="{{ result.title|striptags }}" alt="{{ result.title|striptags }}"/>{{ result_close_link() }}{% endif -%} <h3>{{ result_link(result.url, result.title|safe) }}</h3> |