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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user