mirror of
https://github.com/welpo/tabi.git
synced 2026-05-15 02:27:34 +02:00
feat: optional alternative tags sort order based on posts count
This commit is contained in:
parent
82ecbc1454
commit
c685b95f9e
4 changed files with 23 additions and 0 deletions
|
|
@ -225,6 +225,16 @@ Setting `compact_tags = true` will display them as:
|
|||
|
||||
[TagName](#) <sup>n</sup>
|
||||
|
||||
### Tags Sorting
|
||||
|
||||
| Page | Section | `config.toml` | Follows Hierarchy | Requires JavaScript |
|
||||
|:----:|:-------:|:-------------:|:-----------------:|:-------------------:|
|
||||
| ❌ | ❌ | ✅ | ❌ | ❌ |
|
||||
|
||||
By default, the [tags page](/tags) sorts tags alphabetically, given the default setting of `tag_sorting = "name"`.
|
||||
|
||||
Setting `tag_sorting = "frequency"` will sort them by number-of-posts (descending).
|
||||
|
||||
---
|
||||
|
||||
## Git Repository Integration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue