BookStack 的配置分为三个层级:

  1. hugo.yml 或 hugo.toml 中的站点级配置。
  2. 页面 front matter 中的单页配置。
  3. params.documents 中的多文档注册表。

Hugo 同时支持 YAML、TOML 和 JSON。只需要选择一种作为主配置格式。