Register the Hexo generator for generating
/category/ pages.- Source:
(require("hexo/generator/category"))(hexo)
Register the Hexo generator for generating
/category/ pages.
An array of parent categories will be attached to the page local variables.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
hexo |
Hexo
|
The Hexo instance. |