From 9a5c85c72f489b4334e49f196d0dee31fc192839 Mon Sep 17 00:00:00 2001 From: Eloi Perdereau <eloi@perdereau.eu> Date: Sun, 8 Dec 2019 12:40:25 +0100 Subject: [PATCH] refix dates --- _layouts/splash.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/splash.html b/_layouts/splash.html index c1c2f13..2116502 100644 --- a/_layouts/splash.html +++ b/_layouts/splash.html @@ -12,8 +12,8 @@ layout: default <article class="splash" itemscope itemtype="https://schema.org/CreativeWork"> {% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} {% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %} - {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: date_to_xmlschema }}">{% endif %} - {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: date_to_xmlschema }}">{% endif %} + {% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %} + {% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %} <section class="page__content" itemprop="text"> {{ content }} -- GitLab