From 46eff6e2fbc7569eed69daf829041bf8b71ac33c Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 1 Jan 2023 01:28:40 -0800 Subject: [PATCH] Make use of the theme's supported i18n features --- config.toml | 7 +++++-- themes/vanilla | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index fa586b9..3dded0c 100644 --- a/config.toml +++ b/config.toml @@ -1,10 +1,9 @@ baseURL = "https://danilafe.com" -languageCode = "en-us" -title = "Daniel's Blog" theme = "vanilla" pygmentsCodeFences = true pygmentsUseClasses = true summaryLength = 20 +defaultContentLanguage = 'en' [outputFormats] [outputFormats.Toml] @@ -20,3 +19,7 @@ summaryLength = 20 endLevel = 4 ordered = false startLevel = 3 + +[languages] + [languages.en] + title = "Daniel's Blog" diff --git a/themes/vanilla b/themes/vanilla index f56465c..a2117a0 160000 --- a/themes/vanilla +++ b/themes/vanilla @@ -1 +1 @@ -Subproject commit f56465c5ecf559b36201715f2cad51cd00e2a793 +Subproject commit a2117a0093a8354010ee54a9dd8e0557e6ab8d38