Skip to content

Commit

Permalink
Update changelog + add back config.generate_feed in templates for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Keats committed Jun 24, 2024
1 parent 9774d76 commit b97f8a1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## 0.19.1 (unreleased)
## 0.19.1 (2024-06-24)

- Fix `config.generate_feeds` being still serialized as `config.generate_feed`
- Fix `config.generate_feeds` being still serialized as `config.generate_feed`. Both are available for now
- Fix `zola serve` not reacting to changes on some OSes

## 0.19.0 (2024-06-20)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zola"
version = "0.19.0"
version = "0.19.1"
authors = ["Vincent Prouillet <[email protected]>"]
edition = "2021"
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions components/config/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ pub struct SerializedConfig<'a> {
description: &'a Option<String>,
languages: HashMap<&'a String, &'a languages::LanguageOptions>,
default_language: &'a str,
generate_feed: bool,
generate_feeds: bool,
feed_filenames: &'a [String],
taxonomies: &'a [taxonomies::TaxonomyConfig],
Expand Down Expand Up @@ -322,6 +323,7 @@ impl Config {
description: &options.description,
languages: self.languages.iter().filter(|(k, _)| k.as_str() != lang).collect(),
default_language: &self.default_language,
generate_feed: options.generate_feeds,
generate_feeds: options.generate_feeds,
feed_filenames: &options.feed_filenames,
taxonomies: &options.taxonomies,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: zola
version: 0.19.0
version: 0.19.1
summary: A fast static site generator in a single binary with everything built-in.
description: |
A fast static site generator in a single binary with everything built-in.
Expand All @@ -21,7 +21,7 @@ parts:
zola:
source-type: git
source: https://github.com/getzola/zola.git
source-tag: v0.19.0
source-tag: v0.19.1
plugin: rust
rust-channel: stable
build-packages:
Expand Down

0 comments on commit b97f8a1

Please sign in to comment.