✨ feat: allow custom archive date format (#557)
This commit is contained in:
@@ -240,14 +240,18 @@ code_block_name_links = true
|
||||
compact_tags = false
|
||||
|
||||
short_date_format = ""
|
||||
|
||||
# Date format used for the archive page.
|
||||
# Default is "06 July" in English and "%d %b" in other languages.
|
||||
archive_date_format = ""
|
||||
|
||||
# Per-language date format overrides.
|
||||
# Examples: Spanish uses "3 de febrero de 2024", German uses "3. Februar 2024"
|
||||
date_formats = [
|
||||
{ lang = "ru", long = "%d %B %Y", short = "%-d %b %Y" },
|
||||
{ lang = "ru", long = "%d %B %Y", short = "%-d %b %Y", archive = "%d %b" },
|
||||
{ lang = "en", long = "%d. %B %Y", short = "%d.%m.%Y" },
|
||||
]
|
||||
|
||||
|
||||
tag_sorting = "frequency"
|
||||
|
||||
menu = [
|
||||
|
||||
Reference in New Issue
Block a user