mirror of
https://github.com/ratatui-org/ratatui
synced 2025-02-16 14:08:44 +00:00
chore: add commit footers to git-cliff config (#805)
Fixes: https://github.com/orhun/git-cliff/issues/297
This commit is contained in:
parent
de97a1f1da
commit
151db6ac7d
1 changed files with 7 additions and 0 deletions
|
@ -30,6 +30,13 @@ body = """
|
||||||
{{commit.body | indent(prefix=" ") }}
|
{{commit.body | indent(prefix=" ") }}
|
||||||
````
|
````
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- for footer in commit.footers %}
|
||||||
|
{%- if footer.token != "Signed-off-by" and footer.token != "Co-authored-by" %}
|
||||||
|
|
||||||
|
{{ footer.token | indent(prefix=" ") }}{{ footer.separator }}
|
||||||
|
{{ footer.value | indent(prefix=" ") }}
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
{% endmacro -%}
|
{% endmacro -%}
|
||||||
|
|
||||||
{% for group, commits in commits | group_by(attribute="group") %}
|
{% for group, commits in commits | group_by(attribute="group") %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue