diff --git a/index.html b/index.html
index e72d2c0..484e0e2 100644
--- a/index.html
+++ b/index.html
@@ -88,7 +88,29 @@
`;
// Start building banner content
- let content = '';
+ let content = `
+
+ ${banner.link ? `
` : ''}
+ `;
// Handle image if it exists
const bannerText = banner.text || banner.Text || '';
@@ -227,19 +249,12 @@
// Text is already added in the previous conditions
- // Wrap the entire content in a link if bannerLink exists
- if (bannerLink) {
- bannerContent.innerHTML = `
-
- ${content}
-
- `;
- } else {
- bannerContent.innerHTML = content;
+ // Set the content and make banner visible
+ bannerContent.innerHTML = content;
+
+ // Apply custom font if specified in template
+ if (style.fontFamily) {
+ bannerContent.style.fontFamily = style.fontFamily;
}
// Log the content for debugging