feat: allow setting post_listing_date per section

This commit is contained in:
welpo 2025-02-09 23:16:53 +01:00
parent db5062fb3f
commit a3ae897c83
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
4 changed files with 15 additions and 2 deletions

View file

@ -183,6 +183,10 @@ By default, when listing posts, the date of post creation is shown. You can conf
post_listing_date = "date"
```
{% admonition(type="tip") %}
This setting follows the hierarchy: you can set a global value in `config.toml` or override it for specific sections in their `_index.md` file. In both cases, add it to the `[extra]` section.
{% end %}
#### Listing Projects
You can showcase a selection of projects on your main page. To do this, you'll need to set up the `projects` directory first.