[fix] [hot] website product list make full urls
diff --git a/erpnext/templates/includes/product_in_list.html b/erpnext/templates/includes/product_in_list.html
index 91d2d7a..98e46a7 100644
--- a/erpnext/templates/includes/product_in_list.html
+++ b/erpnext/templates/includes/product_in_list.html
@@ -1,15 +1,15 @@
<!-- TODO product listing -->
<div class="container content">
<div style="height: 120px; overflow: hidden;">
- <a href="{{ route or page_name }}">
+ <a href="{{ (route or page_name)|with_leading_slash }}">
{%- if website_image -%}
- <img class="product-image" style="width: 80%; margin: auto;" src="{{ website_image }}">
+ <img class="product-image" style="width: 80%; margin: auto;" src="{{ website_image|with_leading_slash }}">
{%- else -%}
<div style="width: 80%; height: 120px; background-color: #F7FAFC;"></div>
{%- endif -%}
</a>
</div>
<div style="height: 100px; overflow: hidden; font-size: 80%;">
- <div><a href="{{ route or page_name }}">{{ item_name }}</a></div>
+ <div><a href="{{ (route or page_name)|with_leading_slash }}">{{ item_name }}</a></div>
</div>
</div>