🐛 fix(post_listing_date): show original date for unedited articles (#355)

This commit is contained in:
sam 2024-07-14 16:35:17 +02:00 committed by GitHub
parent a76d6888b6
commit 5db006ac47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 6 deletions

View file

@ -146,9 +146,13 @@ The `title` is the header that appears above the posts.
By default, when listing posts, the date of post creation is shown. You can configure which date(s) to display using the `post_listing_date` option. Available settings:
- `date`: Show only the original date of the post (default).
- `updated`: Show only the last updated date of the post.
- `updated`: Show only the last updated date of the post. If there is no last updated date, it shows the original date.
- `both`: Show both the original date and the last updated date.
```toml
post_listing_date = "date"
```
#### 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.