about summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-02-18 13:58:34 +0100
committerAlan Pearce2024-02-18 20:40:21 +0100
commita6000685cfcbb4253f634b44637b599cec96d5bc (patch)
tree14bbf91452f561d8a5b084985a409efa4e5238b0 /config.toml
parent5a936b5c413b541c5523da6b4ebdc46f996f7360 (diff)
downloadzola-bearblog-a6000685cfcbb4253f634b44637b599cec96d5bc.tar.lz
zola-bearblog-a6000685cfcbb4253f634b44637b599cec96d5bc.tar.zst
zola-bearblog-a6000685cfcbb4253f634b44637b599cec96d5bc.zip
Create basic German version of website
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml35
1 files changed, 31 insertions, 4 deletions
diff --git a/config.toml b/config.toml
index bd675af..5a54517 100644
--- a/config.toml
+++ b/config.toml
@@ -13,6 +13,29 @@ taxonomies = [
   {name = "tags", feed = true},
 ]
 
+default_language = "en"
+
+[translations]
+no_posts = "No posts yet"
+remove_filter = "Remove filter"
+filtering_for = "Filtering for"
+made_with = "Made with"
+
+[languages.de]
+title = "Zola ʕ•ᴥ•ʔ Bear Blog"
+description = "Ein Zola-theme basiert auf Bear Blog."
+
+taxonomies = [
+  {name = "categories", feed = true},
+  {name = "tags", feed = true},
+]
+
+[languages.de.translations]
+no_posts = "Keine Einträge"
+remove_filter = "Filter entfernen"
+filtering_for = "Filtern nach"
+made_with = "Erstellt mit"
+
 [markdown]
 # Whether to do syntax highlighting
 # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
@@ -23,17 +46,21 @@ date_format="%d %b, %Y"
 webserver_sends_csp_headers=true
 
 [[extra.main_menu]]
-name = "Home"
+name_en = "Home"
+name_de = "Startseite"
 url = "/"
 
 [[extra.main_menu]]
-name = "Bear"
+name_en = "Bear"
+name_de = "Bear"
 url = "@/bear.md"
 
 [[extra.main_menu]]
-name = "Zola"
+name_en = "Zola"
+name_de = "Zola"
 url = "@/zola.md"
 
 [[extra.main_menu]]
-name = "Blog"
+name_en = "Blog"
+name_de = "Blog"
 url = "@/blog/_index.md"