diff --git a/git-cliff-release/cliff.toml b/git-cliff-release/cliff.toml index b67e9db..5691c4c 100644 --- a/git-cliff-release/cliff.toml +++ b/git-cliff-release/cliff.toml @@ -14,9 +14,7 @@ All notable changes to this project will be documented in this file.\n # template for the changelog body # https://keats.github.io/tera/docs/#introduction body = """ -{% if not version %}\ - -{% endif %}\ +{% if not version %}{% endif %}\ {% if version and extra.release_link %}\ ## [{{ version | trim_start_matches(pat="v") }}]({{ extra.release_link }}) ({{ timestamp | date(format="%Y-%m-%d") }}) {% elif extra.unreleased_version %}\ @@ -47,9 +45,7 @@ body = """ {%- endif %}\ {% endfor %} {% endfor %}\n -{% if not version %}\ - -{% endif %}\ +{% if not version %}{% endif %}\ """ # template for the changelog footer footer = """