new Category(name, posts, subs)
Category data.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | Category name. |
posts |
Array.<File> | Posts belonging to this category. |
subs |
Array.<Category> | Sub categories. |
Properties:
Name | Type | Description |
---|---|---|
name |
String | Category name. |
docPath |
String | |
posts |
Array.<File> | Posts belonging to this category. |
subs |
Array.<Category> | Sub categories. |