SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] add missing result.length and result.author to simple theme
Markus Heiser2bcd610eeb86
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.lessindex 30889dd0b..258c222a2 100644--- a/searx/static/themes/simple/src/less/style.less+++ b/searx/static/themes/simple/src/less/style.less@@ -260,7 +260,9 @@ article[data-vim-selected].category-social {}}- .published_date {+ .published_date,+ .result_length,+ .result_author {font-size: 0.8em;color: var(--color-result-publishdate-font);}diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.htmlindex 7d9b9f4ae..e06157867 100644--- a/searx/templates/simple/macros.html+++ b/searx/templates/simple/macros.html@@ -32,8 +32,10 @@<!-- Draw result sub header -->{%- macro result_sub_header(result) -%}- {% if result.publishedDate %}<time class="published_date" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif %}- {%- if result.metadata %} <div class="highlight">{{ result.metadata|safe }}</div>{% endif -%}+ {%- if result.publishedDate %}<time class="published_date" datetime="{{ result.pubdate }}" >{{ result.publishedDate }}</time>{% endif -%}+ {%- if result.length %}<div class="result_length">{{ _('Length') }}: {{ result.length }}</div>{% endif -%}+ {%- if result.author %}<div class="result_author">{{ _('Author') }}: {{ result.author }}</div>{% endif -%}+ {%- if result.metadata %}<div class="highlight">{{ result.metadata|safe }}</div>{% endif -%}{%- endmacro -%}<!-- Draw result sub footer -->