Browse Source

fix(posts): prefix public post datetime with 发布于

Made-with: Cursor
main
npmrun 12 hours ago
parent
commit
47e135b6a9
  1. 3
      app/pages/@[publicSlug]/posts/[postSlug].vue

3
app/pages/@[publicSlug]/posts/[postSlug].vue

@ -65,7 +65,8 @@ watchEffect(() => {
> >
</div> </div>
<p v-if="publishedAtLabel" class="text-sm tabular-nums text-muted"> <p v-if="publishedAtLabel" class="text-sm tabular-nums text-muted">
<time :datetime="publishedAtIso">{{ publishedAtLabel }}</time> 发布于
<time :datetime="publishedAtIso" class="text-default">{{ publishedAtLabel }}</time>
</p> </p>
<h1 class="text-2xl font-semibold"> <h1 class="text-2xl font-semibold">
{{ data.title }} {{ data.title }}

Loading…
Cancel
Save