This commit is contained in:
Jason Schwarzenberger
2020-12-02 14:14:31 +13:00
parent 888c341296
commit f524ecec7b
2 changed files with 18 additions and 7 deletions
+10 -2
View File
@@ -70,7 +70,11 @@
<article class="article">
<header class="article-header">
<h1 class="article-title">
{@html title}
{#if !title}
{story.title}
{:else}
{@html title}
{/if}
</h1>
{#if story.url}
<div>source: <a class="article-source" href={story.url}>{host}</a></div>
@@ -81,6 +85,10 @@
</header>
<section class="article-body">
{@html html}
{#if !html}
{story.content}
{:else}
{@html html}
{/if}
</section>
</article>