Skip to content

Commit

Permalink
Migrate To Zola Version 0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
colinkiama authored Jul 4, 2024
1 parent 312533d commit 41e8006
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
22 changes: 11 additions & 11 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true

generate_feed = true
generate_feeds = true

# The filename to use for the feed. Used as the template filename, too.
# Defaults to "atom.xml", which has a built-in template that renders an Atom 1.0 feed.
# The filenames to use for the feeds. Used as the template filenames, too.
# Defaults to ["atom.xml"], which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
feed_filename = "atom.xml"
feed_filenames = ["atom.xml"]

[markdown]
# Whether to do syntax highlighting
Expand Down Expand Up @@ -124,12 +124,12 @@ devel = "Development"

# Additional languages definition
# You can define language specific config values and translations:
# title, description, generate_feed, feed_filename, taxonomies, build_search_index
# title, description, generate_feeds, feed_filenames, taxonomies, build_search_index
# as well as its own search configuration and translations (see above for details on those)
[languages]

[languages.cs]
generate_feed = true # there will be a feed for Czech content
generate_feeds = true # there will be a feed for Czech content
build_search_index = false # FIXME: cs not supported by Zola

[languages.cs.translations]
Expand Down Expand Up @@ -208,7 +208,7 @@ stable_lts = "Stable Long-term Support"
devel = "Development"

[languages.fr]
generate_feed = true # there will be a feed for French content
generate_feeds = true # there will be a feed for French content
build_search_index = true

[languages.fr.translations]
Expand Down Expand Up @@ -287,8 +287,8 @@ stable_lts = "Stable Long-term Support"
devel = "Development"

[languages.pt_BR]
generate_feed = true # haverá um feed para o conteúdo em Português Brasileiro
build_search_indx = true
generate_feeds = true # haverá um feed para o conteúdo em Português Brasileiro
build_search_index = false # pt_BR not supported

[languages.pt_BR.translations]
bypass_block = "Ir para o conteúdo principal"
Expand Down Expand Up @@ -366,7 +366,7 @@ stable_lts = "Stable Long-term Support"
devel = "Development"

[languages.ru]
generate_feed = true # there will be a feed for French content
generate_feeds = true # there will be a feed for French content
build_search_index = true

[languages.ru.translations]
Expand Down Expand Up @@ -445,7 +445,7 @@ stable_lts = "Stable Long-term Support"
devel = "Development"

[languages.zh_CN]
generate_feed = true # there will be a feed for Chinese content
generate_feeds = true # there will be a feed for Chinese content
build_search_index = false

[languages.zh_CN.translations]
Expand Down
1 change: 0 additions & 1 deletion content/_index.fr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
+++
title = "Vala Programming Language"
template = "index.html"
lang = "fr"
description = "Vala est un langage de programmation orienté objet avec un compilateur qui génère du code C et utilise le système de type GObject."
insert_anchor_links= "right"
+++
1 change: 0 additions & 1 deletion content/_index.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
+++
title = "Vala编程语言"
template = "index.html"
lang = "zh_CN"
description = "Vala 是一种面向对象的编程语言,由自举编译器产生 C 语言代码并使用 GObject 类型系统。"
insert_anchor_links= "right"
+++
Expand Down

0 comments on commit 41e8006

Please sign in to comment.