Skip to content

Commit

Permalink
Changement string paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
JayPanoz committed Nov 2, 2023
1 parent e78233f commit 712f052
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ translation:
storage: "Conservation"
tip: "Astuce"
more: "Découvrez plus"
paginator_first: "Première page"
paginator_first: "Début"
paginator_previous: "Précédent"
paginator_next: "Suivant"
paginator_last: "Dernière page"
paginator_last: "Fin"
browse_by: "Naviguer par:"
collections: "Collections"
collections_browse: "Aucune recette n’a encore été ajoutée à une collection."
Expand Down
6 changes: 0 additions & 6 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,6 @@ nav.main-nav .nav-item.active .nav-label{
.paginator-trail {
text-align: center;
}
.paginator-prev::after {
content: "";
}
.paginator-next::before {
content: "";
}
.paginator-trail.selected {
border: 1px solid #CB4E06;
background-color: #eeeeee;
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="title p2 m0 absolute bold white bottom-0 left-0">{{ post.title }}</h1
{% if paginator.first_page %}
{% unless paginator.page == paginator.first_page or paginator.previous_page == paginator.first_page %}
<li class="paginator-prev">
<a href="{{ paginator.first_page_path | prepend: site.baseurl }}">{{ paginator.first_page }}</a>
<a href="{{ paginator.first_page_path | prepend: site.baseurl }}">{{ site.translation[site.language].paginator_first }}</a>
</li>
{% endunless %}
{% endif %}
Expand All @@ -44,7 +44,7 @@ <h1 class="title p2 m0 absolute bold white bottom-0 left-0">{{ post.title }}</h1
{% if paginator.last_page and page.url != paginator.last_page_path %}
{% unless page.url contains paginator.last_page_path or paginator.next_page == paginator.last_page %}
<li class="paginator-next">
<a href="{{ paginator.last_page_path | prepend: site.baseurl }}">{{ paginator.last_page }}</a>
<a href="{{ paginator.last_page_path | prepend: site.baseurl }}">{{ site.translation[site.language].paginator_last }}</a>
</li>
{% endunless %}
{% endif %}
Expand Down

0 comments on commit 712f052

Please sign in to comment.