summaryrefslogtreecommitdiff
path: root/website/src/components/LinksFeed.astro
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2024-06-11 11:22:41 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2024-06-11 11:22:41 +0100
commitfe154c01cff35bf422bc6183e8629f28f352b0a6 (patch)
tree83a5661feb0a5c7c4529c20fe82ffe5c19f37cc5 /website/src/components/LinksFeed.astro
parent9122a88ef087c2f706e4313db5409540e12f70fd (diff)
Fixes link contents to render HTML
Diffstat (limited to 'website/src/components/LinksFeed.astro')
-rw-r--r--website/src/components/LinksFeed.astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/src/components/LinksFeed.astro b/website/src/components/LinksFeed.astro
index a428395..4ca8dbd 100644
--- a/website/src/components/LinksFeed.astro
+++ b/website/src/components/LinksFeed.astro
@@ -67,8 +67,8 @@ const canonicalLinksUrl = new URL('links', Astro.site)
<ul>
{ LINKS.filter(matchesYear(year)).sort(sortByDateAddedDescending).map(link => (
<li class="h-entry e-content">
- <a class="u-url p-name" href={link.href}>{link.title}</a>.
- {link.description}
+ <a class="u-url p-name" href={link.href} set:html={link.title} />.
+ <Fragment set:html={link.description} />
Added: <FormattedDate date={link.isoDateAdded} />
</li>
)) }