From 9f67be318d700356430b74d0c523460e85a8b507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 28 Mar 2022 04:20:03 +0200 Subject: [PATCH] Add multiple languages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- config.toml | 13 +++++++++++-- themes/kiss | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index c16612f..b6a7e4d 100644 --- a/config.toml +++ b/config.toml @@ -1,14 +1,23 @@ BaseURL = "https://bouah.net" -languageCode = "en-us" title = "Grumpy pep." theme = "kiss" -copyright = "© Maxime “pep.” Buquet 2019. Licensed under CC-BY-SA 4.0 unless specified." googleAnalytics = "" enableRobotsTXT = true disqusShortname = "" staticDir = ["static"] +languageCode = "en-us" +defaultContentLanguage = 'en' +[languages] + [languages.en] + weight = 1 + languageName = "English" + copyright = "© Maxime “pep.” Buquet 2019. Licensed under CC-BY-SA 4.0 unless specified." + [languages.fr] + weight = 2 + languageName = "Français" + copyright = "© Maxime “pep.” Buquet 2019. Sous license CC-BY-SA 4.0 sauf indication contraire." [params] author = "pep." diff --git a/themes/kiss b/themes/kiss index 215118a..9e9dca2 160000 --- a/themes/kiss +++ b/themes/kiss @@ -1 +1 @@ -Subproject commit 215118a2d5784c5bfef8c9414740db325e72c818 +Subproject commit 9e9dca2c5682aceb6113fa24c75d80c7c596f88b