Skip to content

Hugo Version: 0.147.8 produce error on _internal/pagination.html due to list.html file #236

@delize

Description

@delize

Describe the bug

{{template "_internal/pagination.html" . }}

Hugo produces the following error when trying to run hugo-profile on anything greater than v0.128:

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

It seems that this was attempted to be fixed with this:
https://github.com/gurusabarish/hugo-profile/pull/215/files

And when attempting to use: v0.147.8

Error: error building site: html/template:list.html:43:27: no such template "_internal/pagination.html"

The pagination file has been removed entirely, and when looking at an issue:
gohugoio/hugo#13553 (comment)

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to GO 1.24.0 and HUGO v0.147.8
  2. Try and Build demo site
  3. Receive error

Expected behavior
Site should build without issue

Desktop (please complete the following information):
Not Applicable, Cloudflare Pages / Workers Build

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions