From b424ee255e2d117c74a6a110c50e895a069bc269 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 24 Sep 2022 16:13:36 +0200 Subject: [PATCH 1/2] [mod] paper.html: simplify template by using result_link macro Signed-off-by: Markus Heiser --- searx/templates/simple/result_templates/paper.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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 -%} {{- result_sub_footer(result, proxify) -}} {{- result_footer(result) }} From e36b023508c8c07a7398cd3f52772bc04d9f8c28 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 24 Sep 2022 16:16:22 +0200 Subject: [PATCH 2/2] [mod] core.ac.uk: add cetgory 'scientific publications' Signed-off-by: Markus Heiser --- searx/engines/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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