From b800988885b8662bc5f730e505af8e86a98ab92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Tue, 31 Aug 2021 22:33:48 +0300 Subject: Updated config to zola version 0.14 --- config.toml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index b0061bc..36a167d 100644 --- a/config.toml +++ b/config.toml @@ -15,14 +15,10 @@ taxonomies = [ ] default_language = "en" -languages = [ - {code = "es", feed = false}, - {code = "ru", feed = false}, -] -[translations] +[languages.en] -[translations.en] +[languages.en.translations] full_name = "Yaroslav de la Peña Smirnov" first_name = "Yaroslav" weblog_title = "Yaroslav's weblog" @@ -32,7 +28,10 @@ published_on = "on" edited = "Last edited" also_read = "This text is also available in other languages: " -[translations.es] +[languages.es] +generate_feed = false + +[languages.es.translations] full_name = "Yaroslav de la Peña Smirnov" first_name = "Yaroslav" weblog_title = "Weblog de Yaroslav" @@ -42,7 +41,10 @@ published_on = "en:" edited = "Última edición: " also_read = "Este texto está disponible en otros idiomas: " -[translations.ru] +[languages.ru] +generate_feed = false + +[languages.ru.translations] full_name = "Ярослав де ла Пенья Смирнов" first_name = "Ярослав" weblog_title = "Веб-журнал Ярослава" @@ -52,4 +54,3 @@ published_on = "в: " edited = "Отредакировано: " also_read = "Данный текст также доступен на других языках: " -[extra] -- cgit v1.2.3