We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 384b4ff commit 7c8c7f2Copy full SHA for 7c8c7f2
crates/front_matter/src/lib.rs
@@ -32,7 +32,7 @@ pub struct FrontMatter {
32
pub description: Option<String>,
33
/// Used for `releases/X.XX.X` redirects and ones from the old URL scheme to
34
/// preserve permalinks (e.g. slug.html => slug/).
35
- #[serde(default)]
+ #[serde(default, skip_serializing_if = "Vec::is_empty")]
36
pub aliases: Vec<String>,
37
/// Moved to the `extra` table.
38
#[serde(default, skip_serializing)]
0 commit comments