readme: sort posts by date
This commit is contained in:
parent
6f20aba48b
commit
b543871d96
|
@ -39,6 +39,12 @@ theme = "lightspeed"
|
||||||
|
|
||||||
Posts should be placed directly in the `content` folder.
|
Posts should be placed directly in the `content` folder.
|
||||||
|
|
||||||
|
To sort the post index by date, enable sort in your index section `content/_index.md`:
|
||||||
|
|
||||||
|
```toml
|
||||||
|
sort_by = "date"
|
||||||
|
```
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
### Title
|
### Title
|
||||||
|
|
Loading…
Reference in a new issue