From 1229b7ccf18e3892c50d361f5ebc9b874c8a9a12 Mon Sep 17 00:00:00 2001
From: Gleb Chipiga
Date: Sat, 10 Aug 2024 23:52:30 +0500
Subject: Fix 'more' translation
---
templates/index.html | 4 +++-
templates/page.html | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
(limited to 'templates')
diff --git a/templates/index.html b/templates/index.html
index 802f328..2c9fdfb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -51,7 +51,9 @@ This Template can also be used directly for the index eg: example.com/ or as the
{{ page.content | striptags | truncate(length=150) | safe }}
{%- elif page.extra.static_thumbnail %}
{%- endif %}
- ...more
+
+ ...{{ macros::translate(key="more", default="more", i18n=i18n) }}
+
{%- if config.extra.meta_index.position %}
{%- if config.extra.meta_index.position == "bottom" or config.extra.meta_index.position == "both" %}
diff --git a/templates/page.html b/templates/page.html
index e2a807c..24c628a 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -117,7 +117,7 @@
{# Hides the next couple of pages if the current section is more than 3 away from start #}
{%- if current_section_index > 3 %}
More...
+ {{ macros::translate(key="more", default="more", i18n=i18n) | title }}...