Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@joncto

Description

@joncto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions