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) }}