diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 4 | ||||
| -rw-r--r-- | templates/page.html | 4 |
2 files changed, 5 insertions, 3 deletions
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 %} - <a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">...more</a> + <a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}"> + ...{{ macros::translate(key="more", default="more", i18n=i18n) }} + </a> </div> {%- 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 %} <details> - <summary>More...</summary> + <summary>{{ macros::translate(key="more", default="more", i18n=i18n) | title }}...</summary> </details> <div class="hidden_li"> {%- for inner in sorted_array | slice(start=1, end=(current_section_index - 2)) %} @@ -156,7 +156,7 @@ {%- if current_section_index < num_pages - 4 %} <details> - <summary>More...</summary> + <summary>{{ macros::translate(key="more", default="more", i18n=i18n) | title }}...</summary> </details> <div class="hidden_li"> {%- for inner in sorted_array | slice(start=(current_section_index + 3), end=(num_pages - 1)) %} |
