Update to improve RSS
This commit is contained in:
parent
dfd0f12a15
commit
ec15db9dc1
@ -1,7 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="3600">
|
<meta http-equiv="refresh" content="3600">
|
||||||
<script src="FONTAWESOME_SCRIPT_URL" crossorigin="anonymous"></script>
|
|
||||||
<script type="module" src="./js/RSS.js"></script>
|
<script type="module" src="./js/RSS.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -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}"><i class="fa-solid fa-link"></i></a>` : ''}</div>
|
<div class="gauge-label">RSS Feed for ${this.rssTitle}${this.rssLink ? html` <a href="${this.rssLink}" 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