mirror of
https://github.com/cupcakearmy/nicco.io.git
synced 2026-11-26 02:43:42 +00:00
updates
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { Picture } from 'astro:assets'
|
||||
import type { CollectionEntry } from 'astro:content'
|
||||
import { type CollectionEntry, render as renderEntry } from 'astro:content'
|
||||
import PostAttributes from './PostAttributes.astro'
|
||||
import Tags from './Tags.astro'
|
||||
|
||||
@@ -9,7 +9,7 @@ export type Props = {
|
||||
}
|
||||
|
||||
const { post } = Astro.props
|
||||
const { remarkPluginFrontmatter } = await post.render()
|
||||
const { remarkPluginFrontmatter } = await renderEntry(post)
|
||||
---
|
||||
|
||||
<section class:list={{ without: !post.data.coverImage }}>
|
||||
|
||||
Reference in New Issue
Block a user