1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

refactor: reduce language include file

This commit is contained in:
Cotes Chung
2022-10-19 03:53:47 +08:00
parent 6852ceb280
commit d96fa5aa0c
23 changed files with 59 additions and 85 deletions

View File

@@ -5,8 +5,6 @@ layout: compress
<!DOCTYPE html>
{% include lang.html %}
{% include assets-origin.html %}
{% capture prefer_mode %}
@@ -56,9 +54,9 @@ layout: compress
</button>
</div>
<div class="toast-body text-center pt-0">
<p class="pl-2 pr-2 mb-3">{{ site.data.locales[lang].notification.update_found }}</p>
<p class="pl-2 pr-2 mb-3">{{ site.data.locales[site.lang].notification.update_found }}</p>
<button type="button" class="btn btn-primary" aria-label="Update">
{{ site.data.locales[lang].notification.update }}
{{ site.data.locales[site.lang].notification.update }}
</button>
</div>
</div>