diff --git a/components/PostItem.vue b/components/PostItem.vue index ea85cf9..c4553f5 100644 --- a/components/PostItem.vue +++ b/components/PostItem.vue @@ -76,6 +76,6 @@ const config = useRuntimeConfig() const { t } = useI18n() const url = computed(() => - props.post.alias ? `/posts/${props.post.area_alias}/${props.post.alias}` : `/posts/${props.post.id}`, + props.post?.alias ? `/posts/${props.post?.alias_prefix}/${props.post?.alias}` : `/posts/${props.post?.id}`, ) diff --git a/components/content/EmbedPostItem.vue b/components/content/EmbedPostItem.vue index f9b0b1a..280a361 100644 --- a/components/content/EmbedPostItem.vue +++ b/components/content/EmbedPostItem.vue @@ -1,7 +1,7 @@ diff --git a/content/en/products/acefield.mdx b/content/en/products/acefield.mdx index b97dbcc..ab74d49 100644 --- a/content/en/products/acefield.mdx +++ b/content/en/products/acefield.mdx @@ -22,6 +22,6 @@ downloads: AceField which is stands for wonderful place to battle. We can't just use the name Battlefield because it already became a trademark of Electronic Arts. -:embed-download-link{:items='downloads'} +:embed-download-link{items='downloads'} :embed-post-item{id=914}