From 16dd545c22a0b2b082315372b62022d26152f0bd 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..98ee4bd 160000 --- a/themes/vanilla +++ b/themes/vanilla @@ -1 +1 @@ -Subproject commit f56465c5ecf559b36201715f2cad51cd00e2a793 +Subproject commit 98ee4bd8f3d5d691f75ff0c8eee16872dc122102