You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo Template System Update (Commit 87de3fb) - Implements Hugo v0.146.0's new template lookup order:
Moved all files from layouts/_default/ to layouts/ root
Renamed layouts/partials/ to layouts/_partials/
Renamed layouts/shortcodes/ to layouts/_shortcodes/
Added new taxonomy.html template (replaces terms.html for taxonomy page kind)
Impact: Hugo will use the theme's updated partial paths (_partials/ instead of partials/), but local overrides in the project still use the old paths
CSS Class Refactoring (Multiple commits) - Renamed .post-content to .md-content throughout the theme:
Extracted markdown content styles into dedicated assets/css/common/md-content.css
Updated single.html, list.html, and home_info.html to use md-content class
Impact: The project's layouts/_default/single.html override already uses md-content, so this change is forward-compatible
New Extension Point Added - extend_post_content.html partial hook:
Allows custom content injection between post body and footer
The theme's updated single.html now calls {{- partial "extend_post_content.html" . }}
Impact: The project's layouts/_default/single.html currently embeds the references section directly in the footer; this should be migrated to use the new hook
Current: References section is hardcoded in single.html footer
Better Practice: Should use the new extend_post_content.html partial hook
Benefit: Cleaner separation, easier theme updates in the future
Assets and Styling:
Custom CSS in assets/css/extended/references.css is unaffected (uses Hugo's asset pipeline extension mechanism)
No dependency conflicts found
No configuration file changes required
Hugo Version Requirement:
Theme now uses Hugo v0.146.0+ template system
Project uses Hugo 0.159.1 (specified in mise.toml) ✅ Compatible
💡 Recommended Actions
Required Migrations:
Move and Update single.html Override:
# Move from _default/ to root layouts/
mv layouts/_default/single.html layouts/single.html
# Remove _default/list.html if it exists (check for other overrides)# Keep the _partials/ directory as-is (already correct)
Create extend_post_content.html Partial (Recommended but optional):
Extract the references section (lines 53-72) from single.html
Create new file: layouts/_partials/extend_post_content.html
Add the references <aside> block there
Update single.html to match the theme's structure (removes duplication)
Benefit: Makes the override minimal and easier to maintain
Verify Layout Structure After Update:
# Expected final structure:
layouts/
├── _default/
│ └── list.html # Check if this needs moving too
├── _partials/
│ ├── extend_post_content.html # New (if extracted)
│ ├── breadcrumbs.html
│ ├── cover.html
│ └── [other partials]
├── _shortcodes/
│ └── [shortcodes]
├── single.html # Moved here
└── [other root layouts]
Test Build Locally:
hugo server
# Verify:# - Posts render correctly with references section# - No template errors in console# - CSS styling remains intact
No Changes Required For:
Hugo configuration (hugo.yaml) - no new parameters needed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10d3dcc→154d006Configuration
📅 Schedule: (UTC)
* 0-4,22-23 * * 1-5)* * * * 0,6)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.