hexo/generator/categories

Register the Hexo generator for generating the /categories/ page.

(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.