From c60390aaffa5b09c5c0fddee5924e8552f9e733b Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Tue, 05 Jan 2021 10:15:36 +0000 Subject: [PATCH] Added instructions for formating the dates --- README.md | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index aa278ef..6f7756a 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,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