-
{% for item in update_list %}
{% assign index = item | split: "::" | last | plus: 0 %}
diff --git a/_layouts/archives.html b/_layouts/archives.html
index fd482e5..f86b417 100644
--- a/_layouts/archives.html
+++ b/_layouts/archives.html
@@ -3,10 +3,8 @@ layout: page
# The Archives of posts.
---
-{% include lang.html %}
-
-{% assign df_strftime_m = site.data.locales[lang].df.archives.strftime | default: '/ %m' %}
-{% assign df_dayjs_m = site.data.locales[lang].df.archives.dayjs | default: '/ MM' %}
+{% assign df_strftime_m = site.data.locales[site.lang].df.archives.strftime | default: '/ %m' %}
+{% assign df_dayjs_m = site.data.locales[site.lang].df.archives.dayjs | default: '/ MM' %}
diff --git a/_layouts/default.html b/_layouts/default.html index 26e7c71..6d1b0a5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,8 +5,6 @@ layout: compress -{% include lang.html %} - {% include assets-origin.html %} {% capture prefer_mode %} @@ -56,9 +54,9 @@ layout: compress
{{ site.data.locales[lang].notification.update_found }}
+{{ site.data.locales[site.lang].notification.update_found }}