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
---
assets/css/style.css | 1 -
README.md | 9 +++++++++
2 files changed, 9 insertions(+), 1 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
diff --git a/assets/css/style.css b/assets/css/style.css
index 50d3425..8b2118c 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -887,7 +887,6 @@
display: block;
flex-grow: 0;
flex-shrink: 0;
- display: block;
line-height: 2.5;
padding: .5rem .75rem;
position: relative;
--
Gitblit v1.10.0