diff options
| author | Léon Tiekötter <leon@tiekoetter.com> | 2022-05-11 00:13:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-11 00:13:09 +0200 |
| commit | 459b9c18356ab6a3d14fb72520f198519568a106 (patch) | |
| tree | e2d0def683f4178ff24af908a63ca1456cc74df2 /searx/templates | |
| parent | 035a4eaa09cb4bc4003e5377305735b958c7ef86 (diff) | |
| parent | bc89bb47903342c271ce4781d269f5e5714f683e (diff) | |
Merge pull request #1118 from mrpaulblack/simple-products-template
[simple theme] add products.html result template
Diffstat (limited to 'searx/templates')
| -rw-r--r-- | searx/templates/simple/result_templates/products.html | 14 |
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) }} |