diff --git a/src/components/ArticleViewCounter.svelte b/src/components/ArticleViewCounter.svelte index 122f3b2..af96efd 100644 --- a/src/components/ArticleViewCounter.svelte +++ b/src/components/ArticleViewCounter.svelte @@ -1,6 +1,8 @@ -{#if counter !== null} - + + - - - - + + + - - + + - {counter} - -{/if} + {#if counter !== null} + {counter} + {/if} + diff --git a/src/pages/articles/[article].astro b/src/pages/articles/[article].astro index 854627e..3350919 100644 --- a/src/pages/articles/[article].astro +++ b/src/pages/articles/[article].astro @@ -37,7 +37,7 @@ const title = headings[0].text; } - +