From d27981d1b7ccd2a87aebf4c9388cf88a8e6aaacd Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Wed, 21 Aug 2019 18:33:00 +0200 Subject: [PATCH] layout: improve dates displayed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * NEW Sets the frontmatter date data. * BETTER Improves the date information displayed. * BETTER Adds a publishdate to *la lumière du gris* blog post. Co-Authored-by: Igor Milhit --- config.toml | 4 ++++ content/blog/la-lumière-du-gris.md | 2 +- themes/portfoliGor | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index ce14658..bead07d 100644 --- a/config.toml +++ b/config.toml @@ -13,6 +13,10 @@ enableGitInfo = true posts = ":slug" blog = ":slug" +[frontmatter] +date = ["date", "publishDate"] +lastmod = [":git", "lastmod"] + [params] diff --git a/content/blog/la-lumière-du-gris.md b/content/blog/la-lumière-du-gris.md index 9009f94..a76ff32 100644 --- a/content/blog/la-lumière-du-gris.md +++ b/content/blog/la-lumière-du-gris.md @@ -1,7 +1,7 @@ --- title: "La lumière du gris" date: 2019-08-20T16:59:40+02:00 -publishDate: 2019-08-21 +publishdate: 2019-08-21 draft: false categories: ["traces", "poésie"] tags: ["fatigue", "gris", "lumière", "pluie", "gratitude"] diff --git a/themes/portfoliGor b/themes/portfoliGor index 38566ba..02d6d2f 160000 --- a/themes/portfoliGor +++ b/themes/portfoliGor @@ -1 +1 @@ -Subproject commit 38566ba1064dc94f9cc641ba8f5094015ed43d24 +Subproject commit 02d6d2f08623ed894085ee4f0594c383fba9c167