mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
Add documentation. If there is no last updated date, it shows the original date.
This commit is contained in:
parent
70821bbed6
commit
103b8ba263
3 changed files with 7 additions and 3 deletions
|
@ -148,7 +148,7 @@ show_date = true
|
|||
|
||||
# Determines how dates are displayed in the post listing (e.g. front page or /blog). Options:
|
||||
# "date" - Show only the original date of the post (default if unset).
|
||||
# "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.
|
||||
post_listing_date = "date"
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -105,7 +105,7 @@ show_date = true
|
|||
|
||||
# Determines how dates are displayed in the post listing (e.g. front page or /blog). Options:
|
||||
# "date" - Show only the original date of the post (default if unset).
|
||||
# "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.
|
||||
post_listing_date = "date"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue