Skip to content

Header and footer cannot be disabled by removing fields in changelog config #1161

@OriginCode

Description

@OriginCode

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

Header and footer are always rendered in changelog. Removing the fields in cliff.toml will render the fallback default values of the config.

Steps To Reproduce

  1. Init git-cliff
  2. Remove header or footer fields in the config
  3. Render a changelog

Expected behavior

Header and footer should be removed when the fields do not exist.

Screenshots / Logs

No response

Software information

  • Operating system: AOSC OS 12.2.0
  • Rust version: 1.87.0
  • Project version: 2.9.1

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions