Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Set default OpenGraph image to first block

Pacu28e97cd8dc78f
diff --git a/templates/base.html b/templates/base.html
index fbf1d64ef6..b2aeff4363 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -25,7 +25,7 @@
{% block meta_tags %}
<meta property="og:title" content="{{ site.name }}">
<meta property="og:url" content="{{ request.get_full_path }}">
- <meta property="og:image" content="{% static "images/logo.png" %}">
+ <meta property="og:image" content="{% static "images/block1.png" %}">
{% endblock meta_tags %}
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
diff --git a/templates/category/index.html b/templates/category/index.html
index 59985897f7..39c3936fa8 100644
--- a/templates/category/index.html
+++ b/templates/category/index.html
@@ -15,7 +15,7 @@
{% block meta_tags %}
<meta property="og:title" content="{{ category }} — {{ block.super }}">
<meta property="og:description" content="{{ category.description }}">
- <meta property="og:image" content="{% static "images/logo.png" %}">
+ <meta property="og:image" content="{% static "images/block1.png" %}">
{% with category_url=category.get_absolute_url %}
<meta property="og:url" content="{{ category_url }}">
diff --git a/templates/product/details.html b/templates/product/details.html
index d6bc316105..2aa7fc0297 100644
--- a/templates/product/details.html
+++ b/templates/product/details.html
@@ -27,7 +27,7 @@
<meta property="og:image:width" content="510">
<meta property="og:image:height" content="510">
{% else %}
- <meta property="og:image" content="{% static "images/logo.png" %}">
+ <meta property="og:image" content="{% static "images/block1.png" %}">
{% endif %}
{% endblock meta_tags %}