From 32a339f5fec5f43d7dbc83db38661dd83f74954b Mon Sep 17 00:00:00 2001 From: Ivanq Date: Fri, 26 Mar 2021 17:27:15 +0300 Subject: [PATCH] Move translations to an include --- _includes/translations.html | 21 +++++++++++++++++++++ _layouts/signed.html | 22 +--------------------- _layouts/signed_rtl.html | 22 +--------------------- 3 files changed, 23 insertions(+), 42 deletions(-) create mode 100644 _includes/translations.html diff --git a/_includes/translations.html b/_includes/translations.html new file mode 100644 index 00000000..7a818834 --- /dev/null +++ b/_includes/translations.html @@ -0,0 +1,21 @@ +
+

Translations:

+ 🇺🇸 + 🇻🇳 + 🇨🇳 + 🇹🇷 + 🇷🇴 + 🇪🇸 + 🇧🇷 + 🇩🇪 + 🇫🇷 + 🇵🇱 + 🇮🇹 + 🇰🇷 + 🇷🇺 + 🇮🇷 + 🇺🇦 + 🇮🇩 + 🇷🇸 + 🇵🇭 +
\ No newline at end of file diff --git a/_layouts/signed.html b/_layouts/signed.html index ad17c97f..a62c2d63 100644 --- a/_layouts/signed.html +++ b/_layouts/signed.html @@ -4,27 +4,7 @@ layout: home {% include css.html %} -
-

Translations:

- 🇺🇸 - 🇻🇳 - 🇨🇳 - 🇹🇷 - 🇷🇴 - 🇪🇸 - 🇧🇷 - 🇩🇪 - 🇫🇷 - 🇵🇱 - 🇮🇹 - 🇰🇷 - 🇷🇺 - 🇮🇷 - 🇺🇦 - 🇮🇩 - 🇷🇸 - 🇵🇭 -
+{% include translations.html %} {{ content }} diff --git a/_layouts/signed_rtl.html b/_layouts/signed_rtl.html index bde644be..15c93887 100644 --- a/_layouts/signed_rtl.html +++ b/_layouts/signed_rtl.html @@ -4,27 +4,7 @@ layout: home {% include css.html %} -
-

Translations:

- 🇺🇸 - 🇻🇳 - 🇨🇳 - 🇹🇷 - 🇷🇴 - 🇪🇸 - 🇧🇷 - 🇩🇪 - 🇫🇷 - 🇵🇱 - 🇮🇹 - 🇰🇷 - 🇷🇺 - 🇮🇷 - 🇺🇦 - 🇮🇩 - 🇷🇸 - 🇵🇭 -
+{% include translations.html %}
{{ content }}