fix: remove page views

View counts are not reliable since they are not tracked in a db, so
just remove them.
This commit is contained in:
Timothy DeHerrera
2024-07-08 12:09:39 -06:00
parent aee9ed9ab5
commit 9c97f44261

View File

@@ -51,14 +51,6 @@ const AUTHOR_AVATAR = content.authorImage ? content.authorImage : SITE?.authorIm
<!-- post creation/updation data -->
{ new Intl.DateTimeFormat('en-US', { dateStyle: 'full' }).format(new Date(content.date))}
</span>
<span class="post__stats">
{ USE_VIEW_STATS && ` | `}
{ USE_VIEW_STATS &&
<Icon class="w-5 h-5 inline-block" pack="mdi" name="eye" />
<PostStats slug={meta?.slug} client:load />
}
<!-- | <Icon class="w-5 h-5 inline-block" pack="mdi" name="clock" /> 2 mins -->
</span>
</div>
</h5>
</div>