note metadata

This commit is contained in:
Freeplay 2023-05-19 16:29:16 -04:00
parent 46f25c34b5
commit 501b39e492

View file

@ -160,8 +160,8 @@ definePageMetadata(
computed(() => computed(() =>
note note
? { ? {
title: note.user.name, title: i18n.t("noteOf", { user: note.user.name }),
subtitle: `@${note.user.username}@${note.user.host}`, subtitle: new Date(note.createdAt).toLocaleString(),
avatar: note.user, avatar: note.user,
path: `/notes/${note.id}`, path: `/notes/${note.id}`,
share: { share: {