diff --git a/searx/engines/core.py b/searx/engines/core.py index a997343f2..2a71a216c 100644 --- a/searx/engines/core.py +++ b/searx/engines/core.py @@ -18,7 +18,7 @@ about = { "results": 'JSON', } -categories = ['science'] +categories = ['science', 'scientific publications'] paging = True nb_per_page = 10 diff --git a/searx/templates/simple/result_templates/paper.html b/searx/templates/simple/result_templates/paper.html index 2c9717edd..dd610b903 100644 --- a/searx/templates/simple/result_templates/paper.html +++ b/searx/templates/simple/result_templates/paper.html @@ -30,15 +30,9 @@ {%- if result.content -%}
{{- result.content | safe -}}
{%- endif -%} {%- if result.comments -%}{{- result.comments -}}
{%- endif -%}- {%- if result.pdf_url -%} - {{ _('PDF') }} - {%- endif -%} - {%- if result.html_url -%} - {{ _('HTML') }} - {%- endif -%} - {%- if result.doi %} - Altmetric - {% endif -%} + {%- if result.pdf_url -%}{{ result_link(result.pdf_url, _('PDF')) }}{%- endif -%} + {%- if result.html_url -%}{{ result_link(result.html_url, _('HTML')) }}{%- endif -%} + {%- if result.doi %}{{ result_link('https://www.altmetric.com/details/doi/' + result.doi, 'Altmetric') }}{% endif -%}
{{- result_sub_footer(result, proxify) -}} {{- result_footer(result) }}