Nach Änderung der config.yaml tritt folgender Fehler auf:

ERROR 2022/10/02 11:37:32 Failed to reload config: "hugo/test/config.yaml:22:1": failed to unmarshal YAML: yaml: line 22: did not find expected '-' indicator

Ursache ist eine fehlerhafte Einrückung.

Falsch ist:

buttons:
 - name: portfolio
url: "/categories/portfolio"  

Richtig ist:

buttons:
- name: portfolio
  url: "/categories/portfolio"