feat: use ordinal day number in dates

If the date_format variable in config.toml is empty, the new format date
will be used. Example: 2nd August 2043.
This commit is contained in:
welpo
2023-02-19 02:27:01 +01:00
parent e052371865
commit 0ecc6eff78
2 changed files with 30 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ highlight_theme = "css"
[extra]
use_cdn = false
timeformat = "%d %B %Y" # Default format: "31 January 2049"
date_format = "" # If unset, uses format: "1st January 2049"
#Full path after the base URL required. So if you were to place it in "static" it would be "/favicon.ico"
favicon = ""