note metadata

This commit is contained in:
Freeplay 2023-05-19 16:29:16 -04:00
parent f573f93d16
commit f7856c6525
1 changed files with 2 additions and 2 deletions

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: {