fix(series): use jump in series posts link

instead of go to
This commit is contained in:
ZzMzaw 2024-07-31 07:25:19 +02:00
parent 266e742a6c
commit d9959b3e73
4 changed files with 6 additions and 6 deletions

View file

@ -64,7 +64,7 @@ load_comments = "Load comments"
# Series.
series = "SERIES"
series_go_to_posts = "Go to series' posts"
series_jump_to_posts = "Jump to posts"
series_posts = "Series' posts:"
page_of_a_series = "This article is part of the series: "

View file

@ -64,7 +64,7 @@ load_comments = "Afficher les commentaires"
# Series.
series = "SERIE"
series_go_to_posts = "Aller aux articles de la série"
series_jump_to_posts = "Aller aux articles"
series_posts = "Articles de la série :"
page_of_a_series = "Cet article fait partie de la série : "

View file

@ -69,7 +69,7 @@
}
#series-title {
#go-to-button {
#jump-to-posts-button {
float: right;
}
}

View file

@ -14,9 +14,9 @@
<article>
<div id="series-title">
<span class="title-label">{{ macros_translate::translate(key="series", default="SERIES", language_strings=language_strings) }}</span>
{%- set series_go_to_posts = macros_translate::translate(key="series_go_to_posts", default="Go to series' posts", language_strings=language_strings) -%}
<a id="go-to-button" href="#posts-list" class="no-hover-padding" title="{{ series_go_to_posts }}">
{{ series_go_to_posts }}
{%- set jump_to_series_posts = macros_translate::translate(key="series_jump_to_posts", default="Jump to posts", language_strings=language_strings) -%}
<a id="jump-to-posts-button" href="#posts-list" class="no-hover-padding" title="{{ jump_to_series_posts }}">
{{ jump_to_series_posts }}
</a>
{{ macros_page_header::page_header(title=section.title) }}
</div>