Update to improve RSS
This commit is contained in:
parent
ec15db9dc1
commit
768c98823c
@ -99,7 +99,7 @@ export class RSS extends LitElement {
|
|||||||
<div class="gauge-body">
|
<div class="gauge-body">
|
||||||
${this.rssItems?.length > 0
|
${this.rssItems?.length > 0
|
||||||
? html`
|
? html`
|
||||||
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" 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}">${rssItem.title}</a>` : rssItem.title}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user