note metadata

This commit is contained in:
Freeplay 2023-05-19 16:29:16 -04:00
parent f573f93d16
commit f7856c6525

View file

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