Register the Hexo generator for generating the
/categories/ page.- Source:
(require("hexo/generator/categories"))(hexo)
Register the Hexo generator for generating the
/categories/ page.
A __categories: true property will be attached to the page local
variables.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
hexo |
Hexo
|
The Hexo instance. |