feat: add front-matter variable category

This commit is contained in:
saicaca committed 2023-11-07 14:46:29 +08:00
1 parent 2b000f7e55
commit b171ad463e
10 files changed
+22 -8

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ const {page} = Astro.props;
title={entry.data.title}
tags={entry.data.tags}
categories={entry.data.categories}
category={entry.data.category}
published={entry.data.published}
url={getPostUrlBySlug(entry.slug)}
image={entry.data.image}