techbarrack / terminal-hugo-theme

A theme for hugo made using tailwind CSS library and mono font family
https://nayanseth.com
Mozilla Public License 2.0
14 stars 5 forks source link

WARN Unknown kind "blog" in outputs configuration. #5

Closed tugibaasansuren closed 1 month ago

tugibaasansuren commented 1 month ago

I’m experiencing a warning while building my Hugo site, it seems to related to the hugo.yaml file - which I copied from the themes/temrinal/hugo.yaml file.

The warning message reads: WARN Unknown kind "blog" in outputs configuration.

Please advise how to resolve this warning.

tugibaasansuren commented 1 month ago

Ah it looks like the term “blog” is not a valid kind in Hugo’s configuration. Hugo recognizes kinds such as home, page, section, taxonomy, and a few others?

Updating the hugo.yaml to replace outputs.blog with outputs.section resolved this error message.

replaced "blog" with "section"

outputs:
  **section**:
    - HTML
    - RSS
    - sitemap-blog.xml
  home:
    - HTML
    - RSS
    - sitemap.xml