Commit 421d1bc3 authored by Tobias Buckdahn's avatar Tobias Buckdahn

Fix syntax of meta tags

parent 2f044370
...@@ -12,10 +12,11 @@ ...@@ -12,10 +12,11 @@
{% block meta %} {% block meta %}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="twitter:title" content="{{ page_title|e('html') }}"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ page_title|e('html') }}" />
<meta property="og:title" content="{{ page_title|e('html') }}" /> <meta property="og:title" content="{{ page_title|e('html') }}" />
<meta property="og:type" content="{{ page.template == 'tech' ? 'object' : 'website' }}" /> <meta property="og:type" content="{{ page.template == 'tech' ? 'object' : 'website' }}" />
<meta property="og:url" content="{{ page.url(true, true) }}" /> <meta property="og:url" content="{{ page.url(true, true) }}" />
...@@ -32,8 +33,7 @@ ...@@ -32,8 +33,7 @@
<meta property="og:image:width" content="400"/> <meta property="og:image:width" content="400"/>
<meta property="og:image:height" content="400"/> <meta property="og:image:height" content="400"/>
<meta name="twitter:card" content="summary">{{ 'META.DESCRIPTION'|t }}</meta> <meta name="description" content="{{ 'META.DESCRIPTION'|t }}" />
<meta name="description" content="{{ 'META.DESCRIPTION'|t }}">
{% include 'partials/langswitcher.hreflang.html.twig' %} {% include 'partials/langswitcher.hreflang.html.twig' %}
{% endblock meta %} {% endblock meta %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment