diff --git a/components/PostItem.vue b/components/PostItem.vue index 19797f4..97cbede 100644 --- a/components/PostItem.vue +++ b/components/PostItem.vue @@ -2,15 +2,15 @@
- - + +
- {{ post.author?.nick }} @{{ post.author?.name }} + {{ post.publisher?.nick }} @{{ post.publisher?.name }} {{ post.body?.title }} {{ post.body?.description }} - {{ post.author?.description }} + {{ post.publisher?.description }}
diff --git a/components/PostList.vue b/components/PostList.vue index aea347d..c9b509a 100644 --- a/components/PostList.vue +++ b/components/PostList.vue @@ -19,8 +19,8 @@ async function loadPost({ done }: any) { offset: posts.value.length.toString(), }) - if (props.author) { - searchQueries.set("author", props.author) + if (props.publisher) { + searchQueries.set("author", props.publisher) } if (props.realm) { searchQueries.set("realm", props.realm) diff --git a/pages/gallery/[id].vue b/pages/gallery/[id].vue index 91cd05e..b3b5b86 100644 --- a/pages/gallery/[id].vue +++ b/pages/gallery/[id].vue @@ -10,16 +10,6 @@
-
- - - -
- Uploaded by - {{ attachment.account?.nick }} @{{ attachment.account?.name }} -
-
-
@@ -84,7 +74,7 @@ if (!attachment.value) { }) } -const title = computed(() => `Attachment from ${attachment.value.account.nick}`) +const title = computed(() => `Attachment ${attachment.value?.id}`) watch(attachment, (value) => { if (value.mimetype.split("/")[0] == "image") { @@ -106,7 +96,6 @@ useHead({ }) useSeoMeta({ - author: attachment.value?.account.nick, title: title, description: attachment.value?.alt, ogTitle: title, diff --git a/pages/posts/[id].vue b/pages/posts/[id].vue index bfc9e30..3db4b73 100644 --- a/pages/posts/[id].vue +++ b/pages/posts/[id].vue @@ -1,14 +1,14 @@