Skip to content

Commit

Permalink
fix(conventionalcommits): always use h2
Browse files Browse the repository at this point in the history
Now H2 is used all the time whether it is a patch or not.
Before an H3 was used when it was a patch, but this is bad,
because what is supposed to be the title is of the same level as its content (the changelogs sections),
so the title (when it was a patch) was hardly differentiable from its content (same title level: H3).
Moreover it could avoid bugging tools that are based on the title level.
  • Loading branch information
Mesteery committed Apr 8, 2021
1 parent 8076d46 commit 1017f19
Showing 1 changed file with 9 additions and 13 deletions.
@@ -1,13 +1,9 @@
{{#if isPatch~}}
###
{{~else~}}
##
{{~/if}} {{#if @root.linkCompare~}}
[{{version}}]({{compareUrlFormat}})
{{~else}}
{{~version}}
{{~/if}}
{{~#if title}} "{{title}}"
{{~/if}}
{{~#if date}} ({{date}})
{{/if}}
## {{#if @root.linkCompare~}}
[{{version}}]({{compareUrlFormat}})
{{~else}}
{{~version}}
{{~/if}}
{{~#if title}} "{{title}}"
{{~/if}}
{{~#if date}} ({{date}})
{{/if}}

0 comments on commit 1017f19

Please sign in to comment.