diff --git a/data/flags.json b/data/flags.json new file mode 100644 index 0000000..b386652 --- /dev/null +++ b/data/flags.json @@ -0,0 +1,13 @@ +{ + "all": "🌍", + "fr": "🇫🇷", + "en": "🇬🇧", + "de": "🇩🇪", + "es": "🇪🇸", + "it": "🇮🇹", + "no": "🇳🇴", + "fi": "🇫🇮", + "se": "🇸🇪", + "hu": "🇭🇺", + "pl": "🇵🇱" +} diff --git a/i18n/en.yaml b/i18n/en.yaml index a115632..ecd5e5c 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,4 +1,5 @@ # Languages + language: other: Language fr: @@ -11,7 +12,7 @@ es: other: Spanish it: other: Italian -no: +"no": other: Norwegian fi: other: Finish @@ -23,7 +24,7 @@ pl: other: Polish all: other: Without text - + # Footer poweredBy: other: Powered by @@ -31,4 +32,4 @@ usingTheme: other: Using websiteSource: other: Website source code - + diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 3d6be77..c5d56bd 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -11,7 +11,7 @@ es: other: Espagnol it: other: Italien -no: +"no": other: Norvegien fi: other: Finnois diff --git a/layouts/partials/flags.html b/layouts/partials/flags.html new file mode 100644 index 0000000..cfb467e --- /dev/null +++ b/layouts/partials/flags.html @@ -0,0 +1,22 @@ + +{{ range . }} +{{ index site.Data.flags . }} +{{ end }} +