Skip to content

Commit 7b6a4cd

Browse files
Update mod.ts
1 parent 56476c4 commit 7b6a4cd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

blog/mod.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@ import manifest, { Manifest } from "./manifest.gen.ts";
22
import { PreviewContainer } from "../utils/preview.tsx";
33
import { type App, type FnContext } from "@deco/deco";
44
export type State = {
5+
/**
6+
* @title Category Slug
7+
* @description The slug of the Categories of the blogposts. Use :category
8+
* @example /blog/:category
9+
*/
10+
categorySlug?: string
511
/**
612
* @title Page Slug
713
* @description The slug of the BlogPostPage to embed. Use :category and :slug.
14+
* @example /blog/:category/:slug
815
*/
916
pageSlug?: string;
1017
};

0 commit comments

Comments
 (0)