summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-09-27 14:35:12 +0200
committerThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-09-27 14:35:12 +0200
commit2d9eb15f839fc67e6f7c7db99b2c800d1b3706b3 (patch)
treeeb4f5028c10c7ca8207e3fdb1133b55238e66eb9
parentfe9adaef71db22b43caf2d5cc69a1177a706b7d4 (diff)
soupault.toml: fix date format matching
The post-date is parsed based on date_formats and %D gives something like day/month/year, but I've been specifying them as year-month-day. This fixes the post orders on all index pages.
-rw-r--r--soupault.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/soupault.toml b/soupault.toml
index 693eeab..0a1446c 100644
--- a/soupault.toml
+++ b/soupault.toml
@@ -43,7 +43,7 @@
sort_type = "calendar"
sort_by = "date"
- date_formats = ["%D"]
+ date_formats = ["%Y-%m-%d"]
[index.fields.title]
selector = ["h1"]