From 2389d9d8932786a7b4e51d1be754c31adfbe25f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info> Date: Wed, 15 Mar 2017 11:05:16 +0100 Subject: [PATCH] Fix OG published_time --- theme/templates/article.html.nunj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/templates/article.html.nunj b/theme/templates/article.html.nunj index 37c928db..8c85d551 100644 --- a/theme/templates/article.html.nunj +++ b/theme/templates/article.html.nunj @@ -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 %}" /> -- GitLab