From f29f5f7ffcba9b538849237957644897677637c0 Mon Sep 17 00:00:00 2001 From: erciccione Date: Sat, 26 Jun 2021 13:19:23 +0200 Subject: [PATCH] blog: make 'Next' and 'Prev' translatable --- _i18n/en.yml | 2 ++ blog/index.html | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/_i18n/en.yml b/_i18n/en.yml index 573846dc..3f0764fe 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -880,6 +880,8 @@ blog: author: Posted by date: Posted at filter: "Filter by category:" + next: Next + previous: Prev tags: diff --git a/blog/index.html b/blog/index.html index f80499d5..bb6a9495 100644 --- a/blog/index.html +++ b/blog/index.html @@ -65,7 +65,7 @@ title: titles.blogbytag {% if paginator.total_pages > 1 %}

{% if paginator.previous_page %} - « Prev + « {% t blog.prev %} {% else %} « Prev {% endif %} @@ -81,7 +81,7 @@ title: titles.blogbytag {% endfor %} {% if paginator.next_page %} - Next » + {% t blog.next %} » {% else %} Next » {% endif %}