Skip to content

Commit

Permalink
chore(website): Render chores for release changelog (#21990)
Browse files Browse the repository at this point in the history
For the new changelogs generated from changelog fragments, chores should be rendered too.

Addresses: #21988 (comment)

Signed-off-by: Jesse Szwedko <[email protected]>
  • Loading branch information
jszwedko committed Dec 9, 2024
1 parent 88e017f commit 874b25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/layouts/releases/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
{{ end }}

{{ if gt (len $release.changelog) 0 }}
{{/* for the new changelog format, render chores too since they are explicitly added */}}
{{ $groups := $groups | merge (dict "chore" "chore")}}
<div class="mt-8">
<div class="prose dark:prose-dark max-w-none">
{{ partial "heading.html" (dict "text" "Changelog" "level" 2) }}
Expand Down

0 comments on commit 874b25c

Please sign in to comment.