diff --git a/index.html b/index.html index d84f58b..e72d2c0 100644 --- a/index.html +++ b/index.html @@ -168,7 +168,7 @@ text-align: ${textAlign}; font-size: ${fontSize}; "> - ${bannerLink ? `${bannerText.replace(/\n/g, '
')}
` : bannerText.replace(/\n/g, '
')} + ${bannerText.replace(/\n/g, '
')} `; @@ -190,7 +190,7 @@ font-size: ${fontSize}; display: block; "> - ${bannerLink ? `${bannerText.replace(/\n/g, '
')}
` : bannerText.replace(/\n/g, '
')} + ${bannerText.replace(/\n/g, '
')} `; } @@ -215,10 +215,8 @@ font-size: ${fontSize}; `; - // Wrap text in link if URL is provided - const textElement = bannerLink - ? `${bannerText}` - : bannerText; + // Just use the text, link will be applied to the whole banner + const textElement = bannerText; content += `