Update to improve RSS

This commit is contained in:
William Moore 2023-06-14 04:53:00 -05:00
parent ec15db9dc1
commit 768c98823c

View File

@ -99,7 +99,7 @@ export class RSS extends LitElement {
<div class="gauge-body">
${this.rssItems?.length > 0
? html`
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" style="text-decoration: none">&#x1F517;</a>` : ''}</div>
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" target="_blank" style="text-decoration: none">&#x1F517;</a>` : ''}</div>
${this.rssItems.map(rssItem => html`
<div>
<div>${rssItem.link ? html`<a href="${rssItem.link}">${rssItem.title}</a>` : rssItem.title}</div>