From 4c72acae4d50fae25c8f961d92937bc5c301cdfe Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Tue, 11 May 2021 19:38:52 +0800 Subject: [PATCH] make back-to-top in archives really to top --- _layouts/categories.html | 2 +- _layouts/posts.html | 2 +- _layouts/tags.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_layouts/categories.html b/_layouts/categories.html index 18a1cd3..3fbb738 100644 --- a/_layouts/categories.html +++ b/_layouts/categories.html @@ -34,7 +34,7 @@ layout: archive_subtitle {% for post in category.last %} {% include archive-single.html type=entries_layout %} {% endfor %} - {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ {% endif %} {% endfor %} diff --git a/_layouts/posts.html b/_layouts/posts.html index 7ac20eb..cb76fec 100644 --- a/_layouts/posts.html +++ b/_layouts/posts.html @@ -23,6 +23,6 @@ layout: archive {% for post in year.items %} {% include archive-single.html type=entries_layout %} {% endfor %} - {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ {% endfor %} diff --git a/_layouts/tags.html b/_layouts/tags.html index be0a342..a3f6157 100644 --- a/_layouts/tags.html +++ b/_layouts/tags.html @@ -34,7 +34,7 @@ layout: archive_subtitle {% for post in tag.last %} {% include archive-single.html type=entries_layout %} {% endfor %} - {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ + {{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑ {% endif %} {% endfor %} -- 2.43.0