Page MenuHomeFreeBSD

Remove warning in configuration files
ClosedPublic

Authored by minsoochoo0122_proton.me on Jan 11 2024, 11:25 PM.
Tags
Referenced Files
Unknown Object (File)
Sun, Sep 21, 10:05 AM
Unknown Object (File)
Aug 15 2025, 1:24 AM
Unknown Object (File)
Aug 14 2025, 1:26 AM
Unknown Object (File)
Aug 12 2025, 6:05 PM
Unknown Object (File)
Aug 2 2025, 5:00 PM
Unknown Object (File)
Jul 27 2025, 6:25 AM
Unknown Object (File)
Jul 7 2025, 9:52 AM
Unknown Object (File)
Jul 7 2025, 2:01 AM
Subscribers

Details

Summary

Hugo doc says

With v0.109.0 and earlier the basename of the site configuration file was config instead of hugo. You can use either, but should transition to the new naming convention when practical.

therefore config.toml is moved to hugo.toml.

When building website, hugo emits following warnings:

$ make build
HUGO_DISABLELANGUAGES="" /usr/local/bin/hugo --minify
WARN  DEPRECATED: Kind "taxonomyterm" used in disableKinds is deprecated, use "taxonomy" instead.
WARN  Unknown kind "list" in outputs configuration.
WARN  Unknown kind "single" in outputs configuration.
Start building sites …
hugo v0.121.1+extended freebsd/amd64 BuildDate=2023-12-24T17:39:33Z+0000 VendorInfo=freebsd

For texonomyterm:

The taxonomyTerm page kind was effectively aliased to the taxonomy page kind in v0.73.0. (Github issue, commit)

list and single are unknown configurations. I don't know why they exist in the config file.

Test Plan

make build and deploy to web server or make run. Check if there is any broken links/pages.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable