Update to improve RSS

This commit is contained in:
William Moore 2023-06-14 04:49:46 -05:00
parent dfd0f12a15
commit ec15db9dc1
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<html>
<head>
<meta http-equiv="refresh" content="3600">
<script src="FONTAWESOME_SCRIPT_URL" crossorigin="anonymous"></script>
<script type="module" src="./js/RSS.js"></script>
</head>
<body>

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}"><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">&#x1F517;</a>` : ''}</div>
${this.rssItems.map(rssItem => html`
<div>
<div>${rssItem.link ? html`<a href="${rssItem.link}">${rssItem.title}</a>` : rssItem.title}</div>