Skip to content

Commit

Permalink
feat: changelog style
Browse files Browse the repository at this point in the history
Update changelog.handlebars
  • Loading branch information
VirgilClyne committed Dec 11, 2024
1 parent a55df90 commit d634a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions changelog.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { Badge } from '@theme';


{{#each releases}}
## [{{{this.name}}}]({{{this.html_url}}}) <span className='ml-2'>{{#if this.draft}}<Badge text='草稿' type='warning' outline />{{else if this.prerelease}}<Badge text='预发布' type='info' outline />{{else}}<Badge text='正式版' type='tip' outline />{{/if}}</span>
## [{{{this.name}}}]({{{this.html_url}}}) <span className='ml-2'>{{#if this.draft}}<Badge text='草稿' type='danger' outline />{{else if this.prerelease}}<Badge text='预发布' type='warning' outline />{{else}}<Badge text='正式版' type='tip' outline />{{/if}}</span>

{{{this.body}}}


{{/each}}
{{/each}}

0 comments on commit d634a3d

Please sign in to comment.