summaryrefslogtreecommitdiff
path: root/searx/templates/simple
diff options
context:
space:
mode:
authormrpaulblack <paul@paulgo.io>2022-05-11 00:03:21 +0200
committermrpaulblack <paul@paulgo.io>2022-05-11 00:03:21 +0200
commit392c9c4243af967c6f2e486d5ef14814f0c325e2 (patch)
treecfc65a2b3e740726cedb715b7685b5c2042154ea /searx/templates/simple
parent035a4eaa09cb4bc4003e5377305735b958c7ef86 (diff)
downloadsearxng-392c9c4243af967c6f2e486d5ef14814f0c325e2.tar.gz
searxng-392c9c4243af967c6f2e486d5ef14814f0c325e2.zip
[simple theme] add products.html template
Diffstat (limited to 'searx/templates/simple')
-rw-r--r--searx/templates/simple/result_templates/products.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/searx/templates/simple/result_templates/products.html b/searx/templates/simple/result_templates/products.html
new file mode 100644
index 000000000..c49f29ecb
--- /dev/null
+++ b/searx/templates/simple/result_templates/products.html
@@ -0,0 +1,14 @@
+{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl with context %}
+
+{{ result_header(result, favicons, image_proxify) -}}
+{{- result_sub_header(result) -}}
+{% if result.price %}<div class="result_price">{{ result.price }}</div></br>{% endif %}
+{% if result.shipping %}<div class="result_shipping">{{ result.shipping }}</div></br>{% endif %}
+{% if result.source_country %}<div class="result_source_country">{{ result.source_country }}</div></br>{% endif %}
+{%- if result.content %}
+ <p class="content">
+ {{ result.content }}
+ </p>
+{% endif -%}
+{{- result_sub_footer(result, proxify) -}}
+{{- result_footer(result) }}