                img.src = badge.src;
                            badges.appendChild(img);
                        }
                    });
                    header.appendChild(badges);
                }

                // Source icon
                if (content.type) {
                    const sourceIcon = document.createElement('img');
                    sourceIcon.className = 'source-icon';
                    sourceIcon.src = `../../sources/images/${content.type}.png`;
                 