mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
feat(serie): add serie's posts list link to title
As a serie's content can be important in size, it can be better to directly jump to the list of articles in the serie.
This commit is contained in:
parent
15c0696bfa
commit
093b9140a5
4 changed files with 13 additions and 1 deletions
|
@ -64,6 +64,7 @@ load_comments = "Load comments"
|
|||
|
||||
# Serie.
|
||||
serie = "SERIE"
|
||||
serie_go_to_posts = "Go to serie's posts"
|
||||
serie_posts = "Serie's posts:"
|
||||
page_of_a_serie = "This article is part of the serie: "
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ load_comments = "Afficher les commentaires"
|
|||
|
||||
# Serie.
|
||||
serie = "SERIE"
|
||||
serie_go_to_posts = "Aller aux articles de la série"
|
||||
serie_posts = "Articles de la série :"
|
||||
page_of_a_serie = "Cet article fait partie de la série : "
|
||||
|
||||
|
|
|
@ -68,6 +68,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
#serie-title {
|
||||
#go-to-button {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.serielist-title {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
|
|
@ -12,8 +12,12 @@
|
|||
{% endif -%}
|
||||
|
||||
<article>
|
||||
<div>
|
||||
<div id="serie-title">
|
||||
<span class="title-label">{{ macros_translate::translate(key="serie", default="SERIE", language_strings=language_strings) }}</span>
|
||||
{%- set serie_go_to_posts = macros_translate::translate(key="serie_go_to_posts", default="Go to serie's posts", language_strings=language_strings) -%}
|
||||
<a id="go-to-button" href="#posts-list" class="no-hover-padding" title="{{ serie_go_to_posts }}">
|
||||
{{ serie_go_to_posts }}
|
||||
</a>
|
||||
{{ macros_page_header::page_header(title=section.title) }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue