about summary refs log tree commit diff stats
path: root/config.toml
diff options
context:
space:
mode:
authorAlan Pearce2024-05-28 23:23:33 +0200
committerAlan Pearce2024-05-28 23:23:33 +0200
commita70fb3f413a205390b45943007400d5d9a06a72b (patch)
tree2ca6b45c37ddd89054e46d523d5cd6e3c3c3c133 /config.toml
parentfe37fcf3daa0eaafc1236050ac95b5d4ba21bcd2 (diff)
parent995c4f6eff9a601c75c39d40f945c8a70d710d95 (diff)
downloadzola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.lz
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.tar.zst
zola-bearblog-a70fb3f413a205390b45943007400d5d9a06a72b.zip
Merge branch 'main' into microformats2 microformats2
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml48
1 files changed, 45 insertions, 3 deletions
diff --git a/config.toml b/config.toml
index ca8d27a..8927d04 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,6 @@
 title = "Zola ʕ•ᴥ•ʔ Bear Blog"
-base_url = "https://alanpearce.codeberg.page/zola-bearblog"
-description = ""
+base_url = "https://zola-bearblog.netlify.app/"
+description = "A Zola-theme based on Bear Blog."
 
 # Whether to automatically compile all Sass files in the sass directory
 compile_sass = false
@@ -13,22 +13,64 @@ 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
 highlight_code = true
 
 [extra]
-date_format="%d %b, %Y"
+date_format="%Y-%m-%d"
+webserver_sends_csp_headers=true
+language_switcher=true
+translations = [
+  { code="en", name="English" },
+  { code="de", name="Deutsch" },
+]
+
+[extra.table_of_contents]
+show=true
+max_level=2
+visible_on_load=true
+
+[[extra.main_menu]]
+name = "Home"
+name_de = "Startseite"
+url = "/"
 
 [[extra.main_menu]]
 name = "Bear"
+name_de = "Bear"
 url = "@/bear.md"
 
 [[extra.main_menu]]
 name = "Zola"
+name_de = "Zola"
 url = "@/zola.md"
 
 [[extra.main_menu]]
 name = "Blog"
+name_de = "Blog"
 url = "@/blog/_index.md"