Update to improve RSS
This commit is contained in:
parent
768c98823c
commit
94b19f4ebe
@ -102,7 +102,7 @@ export class RSS extends LitElement {
|
|||||||
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" target="_blank" style="text-decoration: none">🔗</a>` : ''}</div>
|
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" target="_blank" style="text-decoration: none">🔗</a>` : ''}</div>
|
||||||
${this.rssItems.map(rssItem => html`
|
${this.rssItems.map(rssItem => html`
|
||||||
<div>
|
<div>
|
||||||
<div>${rssItem.link ? html`<a href="${rssItem.link}">${rssItem.title}</a>` : rssItem.title}</div>
|
<div>${rssItem.link ? html`<a href="${rssItem.link}" target="_blank">${rssItem.title}</a>` : rssItem.title}</div>
|
||||||
</div>
|
</div>
|
||||||
`)}
|
`)}
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user