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 -->
|
<!-- post creation/updation data -->
|
||||||
{ new Intl.DateTimeFormat('en-US', { dateStyle: 'full' }).format(new Date(content.date))}
|
{ new Intl.DateTimeFormat('en-US', { dateStyle: 'full' }).format(new Date(content.date))}
|
||||||
</span>
|
</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>
|
</div>
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user