Skip to content

Commit

Permalink
cleanup previous navigation mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzMzaw committed Oct 31, 2024
1 parent 61ab8c6 commit 6b6e140
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,11 @@ show_previous_next_article_links = false
# Invert order of the links to previous and next articles at the bottom of posts.
# By default, next articles are on the left side of the page and previous articles are on the right side.
# To reverse the order (next articles on the right and previous articles on the left), set it to true.
# This applies to series articles navigation as well.
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#settings-hierarchy
invert_previous_next_article_links = false

# Whether the navigation for previous/next article should match the full width of the site (same as the navigation bar at the top) or the article width.
# To match the navigation bar at the top, set it to true.
# This applies to series articles navigation as well.
previous_next_article_links_full_width = true

# Quick navigation buttons.
Expand Down
2 changes: 0 additions & 2 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ one_posts = "$NUMBER post"
many_posts = "$NUMBER posts" # "3 posts"
prev = "Prev" # As in "Previous" page.
next = "Next" # As in "Next" page.
prev_series = "Prev (series)" # As in "Previous" page but within a series.
next_series = "Next (series)" # As in "Next" page but within a series.
of = "of" # E.g. Page 1 "of" 3
all_posts = "All posts"
all_tags = "All tags"
Expand Down
2 changes: 1 addition & 1 deletion sass/parts/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ details summary {
}
}

.article-navigation, .series-article-navigation {
.article-navigation {
display: flex;
margin-block-start: 2rem;
border-block-start: var(--divider-color) solid 0.5px;
Expand Down
2 changes: 0 additions & 2 deletions theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,11 @@ show_previous_next_article_links = false
# Invert order of the links to previous and next articles at the bottom of posts.
# By default, next articles are on the left side of the page and previous articles are on the right side.
# To reverse the order (next articles on the right and previous articles on the left), set it to true.
# This applies to series articles navigation as well.
# Can be set at page or section levels, following the hierarchy: page > section > config. See: https://welpo.github.io/tabi/blog/mastering-tabi-settings/#settings-hierarchy
invert_previous_next_article_links = false

# Whether the navigation for previous/next article should match the full width of the site (same as the navigation bar at the top) or the article width.
# To match the navigation bar at the top, set it to true.
# This applies to series articles navigation as well.
previous_next_article_links_full_width = true

# Quick navigation buttons.
Expand Down

0 comments on commit 6b6e140

Please sign in to comment.