diff --git a/searx/templates/courgette/result_templates/code.html b/searx/templates/courgette/result_templates/code.html index d6dbd5ed7..b83116ec2 100644 --- a/searx/templates/courgette/result_templates/code.html +++ b/searx/templates/courgette/result_templates/code.html @@ -1,4 +1,4 @@ -
{% if result.img_src %}{% endif %}{% if result.content %}{{ result.content|safe }}
{% endif %}
{{ _('original context') }} diff --git a/searx/templates/courgette/result_templates/key-value.html b/searx/templates/courgette/result_templates/key-value.html index 789e8de92..e9382b8d8 100644 --- a/searx/templates/courgette/result_templates/key-value.html +++ b/searx/templates/courgette/result_templates/key-value.html @@ -1,4 +1,4 @@ -
{%- else -%} - | {{ attribute.value }} | + {% if attribute.label == 'Instance of' %} +{{ attribute.value.id }} | + {% else %} +{{ attribute.value }} | + {%- endif -%} {%- endif -%} {% endfor -%} diff --git a/searx/templates/oscar/results.html b/searx/templates/oscar/results.html index 43e3e26d9..fc4efadfa 100644 --- a/searx/templates/oscar/results.html +++ b/searx/templates/oscar/results.html @@ -72,6 +72,8 @@ {% endfor %} +