From e663d3981f4e2b198427202f556b9692f4279cd6 Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Tue, 05 Jan 2021 10:28:05 +0000 Subject: [PATCH] Merge pull request #107 from ivangjxyz/date-improvements --- README.md | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 39b8e3c..621fe74 100644 --- a/README.md +++ b/README.md @@ -129,6 +129,15 @@ doNotLoadAnimations = true # Animations are loaded by default ``` +### Control the date Format +You can change the default date formating for the `list.html`, the `single.html` and the `index.html`. Simply configure the matching parameters. +```toml +[params] +singleDateFormat = "Mon, Jan 2, 2006" +indexDateFormat = "Mon, Jan 2, 2006" +listDateFormat = "Jan 2" +``` + ### Have a static page as a home page If you prefer having a static page as your home page rather than a listing of the latest posts, then make sure you leave the `mainSections` parameter blank: ```toml -- Gitblit v1.10.0