Skip to content

Commit e0f9458

Browse files
committed
refacto(preview): clean the preview template
1 parent d6637e2 commit e0f9458

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{# This extends takes account of the potential theme template #}
21
{% extends '@MonsieurBizSyliusCmsPagePlugin/shop/page/show.html.twig' %}
32

43
{% block body %}
@@ -20,19 +19,3 @@
2019

2120
{{ parent() }}
2221
{% endblock %}
23-
24-
{% block title %}{{ page.metaTitle }}{% endblock %}
25-
26-
{% block metatags %}
27-
{{ parent() }}
28-
<meta property="og:type" content="page" />
29-
{% if page.metaTitle is not empty %}
30-
<meta property="og:title" content="{{ page.metaTitle }}"/>
31-
{% endif %}
32-
{% if page.metaDescription is not empty %}
33-
<meta name="description" property="og:description" content="{{ page.metaDescription }}"/>
34-
{% endif %}
35-
{% if page.metaKeywords is not empty %}
36-
<meta name="keywords" content="{{ page.metaKeywords }}"/>
37-
{% endif %}
38-
{% endblock %}

0 commit comments

Comments
 (0)