Skip to content
Snippets Groups Projects
Verified Commit 2389d9d8 authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Fix OG published_time

parent 04f6265f
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -3,7 +3,7 @@
{% block head %}
<meta property="og:type" content="article" />
<meta property="article:published_time" content="{{ metadata.date.creation }}" />
<meta property="article:published_time" content="{{ metadata.date.creation | date }}" />
{% if metadata.image %} <meta property="og:image" content="{{ metadata.image | absURL( canonicalURL ) }}" /> {% endif %}
<meta property="og:description" content="{% if metadata.perex %}{{metadata.perex}}{% else %}{% if metadata.perex_e %}{{metadata.perex_e | truncate}}{% else %}{% if content %}{{ content | striptags | truncate }}{% endif %}{% endif %}{% endif %}" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment