@@ -41,6 +41,7 @@ document.addEventListener('DOMContentLoaded', () => {
4141 { value : 'badge_followers' , label : 'Badge — Followers' } ,
4242 { value : 'badge_watchers' , label : 'Badge — Watchers' } ,
4343 { value : 'badge_workflow' , label : 'Badge — Workflow Status' } ,
44+ { value : 'badge_license' , label : 'Badge — License' } ,
4445 ] ;
4546
4647 // --- Initialization ---
@@ -54,7 +55,7 @@ document.addEventListener('DOMContentLoaded', () => {
5455
5556 function createDefaultArtifact ( type ) {
5657 // Badge types with repo + color customization
57- if ( type === 'badge_stars' || type === 'badge_downloads' || type === 'badge_watchers' ) {
58+ if ( type === 'badge_stars' || type === 'badge_downloads' || type === 'badge_watchers' || type === 'badge_license' ) {
5859 return {
5960 type : type ,
6061 options : {
@@ -395,6 +396,7 @@ document.addEventListener('DOMContentLoaded', () => {
395396 'badge_followers' : { type : 'badge' , style : 'badge_followers' , badge_type : 'followers' } ,
396397 'badge_watchers' : { type : 'badge' , style : 'badge_watchers' , badge_type : 'watchers' } ,
397398 'badge_workflow' : { type : 'badge' , style : 'badge_workflow' , badge_type : 'workflow_status' } ,
399+ 'badge_license' : { type : 'badge' , style : 'badge_license' , badge_type : 'license' } ,
398400 } ;
399401
400402 // Auto-generate IDs
0 commit comments