This commit is contained in:
Jason Schwarzenberger 2020-11-27 14:07:06 +13:00
parent deeb1d4649
commit f9fdac0992

View File

@ -38,9 +38,8 @@
alt="logo" alt="logo"
style="height: 1rem; width: 1rem;" /> style="height: 1rem; width: 1rem;" />
<a rel="prefetch" href="/{story.id}">{story.title}</a> <a rel="prefetch" href="/{story.id}">{story.title}</a>
(<a href={story.url || story.link}> (<a
{new URL(story.url || story.link).hostname.replace(/^www\./, '')} href={story.url || story.link}>{new URL(story.url || story.link).hostname.replace(/^www\./, '')}</a>)
</a>)
</header> </header>
<section> <section>
<StoryInfo {story} /> <StoryInfo {story} />