Skip to content

Commit

Permalink
docs(series): add reverse pages index option
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzMzaw committed Oct 31, 2024
1 parent 2642cc4 commit ddbc7af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion content/blog/series/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ When a series has a content over 2000 characters, a "Jump to posts" link automat
##### TODO: Add screenshot with final design
To force the feature on or off, use the `show_jump_to_posts` option in the `[extra]` section of your section (series) or in `config.toml`. This setting follows [the hierarchy](@blog/mastering-tabi-settings/index.md#settings-hierarchy).
To force the feature on or off, use the `show_jump_to_posts` option in the `[extra]` section of your series section or in `config.toml`.
This setting follows [the hierarchy](@blog/mastering-tabi-settings/index.md#settings-hierarchy).
## Series pages and ordering
Expand All @@ -137,6 +138,11 @@ Each type of `sort_by` will have its own pros and cons and the most common ones
{{ admonition(type="danger", title="Zola version to sort by date", text="In order to properly reverse dates, Zola v0.19.3+ is required so that pagination information is available thourgh the `get_section` function. Anything relying on the series pages order won't be correct in a series page otherwise (e.g. previous/next series page, ordered and unordered list ...)") }}
A 1-based indexing is used to provide an index to each series page as per their order according to the series section `sort_by`.
The first series page will have 1, the second 2 and so on so forth.
To reverse this index (i.e. the first series page will have the greatest index), set the `post_listing_index_reversed` option to `true` (default is `false`) in the `[extra]` section of your series sections or in `config.toml`.
This setting follows [the hierarchy](@blog/mastering-tabi-settings/index.md#settings-hierarchy).
## Intro and Outro Templates
Series articles can have automatic introduction and conclusion sections. These are configured in your series' `_index.md`. A basic example:
Expand Down

0 comments on commit ddbc7af

Please sign in to comment.