openclassify/addons/default/visiosoft/base-theme/resources/views/partials/ogdata.twig
2020-02-07 15:19:07 +03:00

9 lines
624 B
Twig

{% block ogdata %}
<meta property="og:site_name"
content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title)) }}"/>
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
<meta property="og:image" content="{{ template.get('og_image') }}"/>
<meta property="og:type" content="website"/>
{% endblock %}