mirror of
https://github.com/saicaca/fuwari.git
synced 2026-01-12 23:32:53 +01:00
feat: add front-matter variable category
This commit is contained in:
@@ -9,6 +9,7 @@ interface Props {
|
||||
published: Date;
|
||||
tags: string[];
|
||||
categories: string[];
|
||||
category: string;
|
||||
}
|
||||
const {published, tags, categories} = Astro.props;
|
||||
const className = Astro.props.class;
|
||||
|
||||
Reference in New Issue
Block a user