doks icon indicating copy to clipboard operation
doks copied to clipboard

fails to build: `paginate` config key deprecated and removed in Hugo v0.128.0

Open joncto opened this issue 6 months ago • 2 comments

Description

Attempting to build the site with a recent version of Hugo (v0.147.6) results in a failure due to deprecated config key and missing layout files.

I tried both with the latest release (v1.7.0), and from main.

Steps to reproduce

hugo server

Expected result

Hugo should start a local developer server at localhost:1313.

Actual result

ERROR deprecated: site config key paginate was deprecated in Hugo v0.128.0 and subsequently removed. Use pagination.pagerSize instead.

WARN  found no layout file for "html" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "searchindex" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

Error: error building site: logged 1 error(s)

Environment

hugo v0.147.6+extended darwin/arm64

joncto avatar Jul 13 '25 06:07 joncto

Thanks for reporting – I will be looking into it tomorrow

https://github.com/thuliteio/doks/discussions/1363#discussioncomment-13691554

h-enk avatar Jul 13 '25 14:07 h-enk

Your issue s/b solved with Doks v1.8.0

Test w/

npm create thulite@latest my-project -- --template doks

h-enk avatar Jul 25 '25 17:07 h-enk