Skip to content

Internal templates not found using hugo 0.146.5 #1136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
jbargu opened this issue Apr 17, 2025 · 1 comment · Fixed by #1137
Closed
3 tasks done

Internal templates not found using hugo 0.146.5 #1136

jbargu opened this issue Apr 17, 2025 · 1 comment · Fixed by #1137
Labels
bug Something isn't working

Comments

@jbargu
Copy link

jbargu commented Apr 17, 2025

Prerequisites

Describe the issue

After using hugo v0.146.5 I receive:

Error: html/template:_partials/pagination.html:2:15: no such template "_internal/pagination.html"

when running hugo server.

Reverting to hugo v0.145.0 works.

Most likely related to:

Steps to reproduce

  1. Have a hugo v0.146.5.
  2. Use the skeleton site: https://github.com/razonyang/hugo-theme-bootstrap-skeleton
  3. Install the theme using git submodules. After running hugo mod npm pack the error will be raised.

For existing site run hugo server, the same error occurs.

Expected behavior

hugo server should work.

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Firefox

What version of theme are you using?

acb8d55

What version of Hugo are you using?

0.146.5

What version of Node.js are you using?

v23.6.0

What version of Git are you using?

2.43.0

Additional context

No response

@jbargu jbargu added the bug Something isn't working label Apr 17, 2025
razonyang added a commit that referenced this issue Apr 17, 2025
deps: require Hugo v0.146.5 or later

Closes #1136
@razonyang
Copy link
Owner

Thanks reporting this issue, to solve this, you need to upgrade the theme via:

hugo mod get github.com/razonyang/[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants