layout: improve dates displayed

* 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 <igor@milhit.ch>
web-fediverse-moi
iGor milhit 2019-08-21 18:33:00 +02:00
parent 2dae5fef50
commit d27981d1b7
3 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,10 @@ enableGitInfo = true
posts = ":slug"
blog = ":slug"
[frontmatter]
date = ["date", "publishDate"]
lastmod = [":git", "lastmod"]
[params]

View File

@ -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"]

@ -1 +1 @@
Subproject commit 38566ba1064dc94f9cc641ba8f5094015ed43d24
Subproject commit 02d6d2f08623ed894085ee4f0594c383fba9c167