관리자 통계 제외와 콘텐츠 링크 정리
This commit is contained in:
@@ -156,6 +156,7 @@ const mapLatestPost = (post) => {
|
||||
featuredImage: post.featuredImage,
|
||||
featuredImageThumbnail: post.featuredImageThumbnail || '',
|
||||
tagName: tagMeta.name,
|
||||
tagSlug: primaryTagSlug || '',
|
||||
tagColor: tagMeta.color,
|
||||
publishedAt: formatPostDate(post.publishedAt),
|
||||
publishedAtIso: post.publishedAt || '',
|
||||
@@ -539,7 +540,16 @@ watch([latestPosts, hasHomeInfeedAd], () => {
|
||||
<time v-if="post.publishedAt" :datetime="post.publishedAtIso">{{ post.publishedAt }}</time>
|
||||
<template v-if="post.tagName">
|
||||
<span v-if="post.publishedAt" class="text-[var(--site-line)]">/</span>
|
||||
<NuxtLink
|
||||
v-if="post.tagSlug"
|
||||
class="rounded-md px-1.5 py-px font-medium text-[var(--site-text)]"
|
||||
:style="{ backgroundColor: `${post.tagColor}1a` }"
|
||||
:to="`/tag/${post.tagSlug}`"
|
||||
>
|
||||
{{ post.tagName }}
|
||||
</NuxtLink>
|
||||
<span
|
||||
v-else
|
||||
class="rounded-md px-1.5 py-px font-medium text-[var(--site-text)]"
|
||||
:style="{ backgroundColor: `${post.tagColor}1a` }"
|
||||
>
|
||||
@@ -556,11 +566,11 @@ watch([latestPosts, hasHomeInfeedAd], () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button
|
||||
<NuxtLink
|
||||
class="absolute top-0 right-0 flex cursor-pointer items-center gap-1 hover:opacity-75"
|
||||
:class="isPostFeedCards ? '' : 'md:top-auto md:right-0 md:bottom-0 md:invisible md:opacity-0 md:transition-[opacity,visibility] md:duration-200 md:group-hover:visible md:group-hover:opacity-100'"
|
||||
type="button"
|
||||
aria-label="Share this post"
|
||||
:to="post.to"
|
||||
aria-label="게시물 보기"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
@@ -575,7 +585,7 @@ watch([latestPosts, hasHomeInfeedAd], () => {
|
||||
<path d="M17 7 7 17" />
|
||||
<path d="M8 7h9v9" />
|
||||
</svg>
|
||||
</button>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user