Skip to content

Conversation

@medaglia
Copy link

In v0.146.0, hugo changed the dir structure in layouts, renaming partials to _partials, breaking this theme. This fixes issues like the following:

execute of template failed: template: index.html:15:15: executing "index.html" at <partial $partial $page>: error calling partial: partial "partials/sections/gallery.html" not found

In v0.146.0, hugo changed the dir structure in layouts, renaming
partials to _partials, breaking this theme. This fixes those issues.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you missed one more appearance of the old path (line 8)

Copy link
Author

@medaglia medaglia Nov 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I've fixed that, as well as another issue I noticed from the version upgrade. And updated some docs as well.

Update documentation and template paths to reflect Hugo v0.146.0's new directory structure, where `partials` and `shortcodes` are now prefixed with underscores. Move shortcode files to `_shortcodes` directory and update all references in documentation and templates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants