Commit 2389d9d8 authored by Isabella Skořepová's avatar Isabella Skořepová

Fix OG published_time

parent 04f6265f
Pipeline #626 passed with stage
in 5 seconds
......@@ -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 %}" />
......
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