mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-23 12:54:06 -06:00
add descrtiption preview
This commit is contained in:
parent
73fd697fd2
commit
beae823988
@ -82,6 +82,10 @@ export const PageList: QuartzComponent = ({ cfg, fileData, allFiles, limit, sort
|
||||
{title}
|
||||
</a>
|
||||
</h3>
|
||||
{/* description 추가 */}
|
||||
{page.frontmatter?.description && (
|
||||
<div class="description">{page.frontmatter.description}</div>
|
||||
)}
|
||||
</div>
|
||||
<ul class="tags">
|
||||
{tags.map((tag) => (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user