Zorg ervoor dat u aan de vereisten voldoet voordat u het thema installeert.

Configuratie

HBS vereist dat de volgende configuraties worden ingesteld.

config.toml

1[build]
2  writeStats = true
3[taxonomies]
4  author = 'authors'
5  category = 'categories'
6  series = 'series'
7  tag = 'tags'

config.yaml

1build:
2  writeStats: true
3taxonomies:
4  author: authors
5  category: categories
6  series: series
7  tag: tags

config.json

 1{
 2   "build": {
 3      "writeStats": true
 4   },
 5   "taxonomies": {
 6      "author": "authors",
 7      "category": "categories",
 8      "series": "series",
 9      "tag": "tags"
10   }
11}

Bouwhulpmiddelen

ToolVersionDescription
GitVersion Control Systems
Hugoextended version 0.97.0 or above.
Node.js and NPMNodeJS 16 or aboveused for installing CSS and JS dependencies, and building the assets.
Go1.12 or aboverequired only when installed as a Hugo Module.

Wij raden u aan de nieuwste versie van deze tools te gebruiken.