Repository navigation
Upgrade Hugo to 0.169.0 and PaperMod to 1181196 - #4
Open
danielwagn3r wants to merge 10 commits into
Open
danielwagn3r wants to merge 10 commits into
danielwagn3r wants to merge 10 commits into
Conversation
PaperMod has had no release since v8.0 (Nov 2024); pin the master commit that the official demo site currently deploys. It requires Hugo >= 0.158.0. The site builds again once the following commits are applied. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- languageCode -> locale, paginate -> pagination.pagerSize - capitalizeListTitles: false keeps taxonomy terms lower case; the new _index.md files keep the Posts/Tags/Categories headings capitalised - privacy.googleAnalytics.disable replaces the head.html override that commented out the built-in GA template - drop minifyOutput: false, which now overrides --minify in CI Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hugo's current layout directories, also used by PaperMod. Contents unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- partial names without the partials/ prefix - .Site.GoogleAnalytics -> .Site.Config.Services.GoogleAnalytics.ID - .Site.Data -> hugo.Data Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
footer.html and index_profile.html start from the theme's current versions with the site's changes re-applied (copyright always shown, Impressum link; sub-images, events and CoderDojo International sections). The head.html override is removed; GA is disabled through config instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing includes the partial, and the stylesheet only styled its section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hugomods/hugo images stop at 0.154.5. ghcr.io/gohugoio/hugo is the extended edition, pinned to HUGO_VERSION; its entrypoint is hugo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
peaceiris/actions-hugo@v3 and actions-gh-pages@v4 are already the latest majors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the project copy, which was PaperMod v7.0's file with the image border-radius commented out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Minimal override on top of upstream profile-mode.css: the CoderDojo logos are not cropped to a circle and stay in one row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrades Hugo from 0.122.0 to 0.169.0 and PaperMod from v8.0 to master commit
1181196.PaperMod hasn't had a release since v8.0 (Nov 2024).
1181196is the commit its demo site currently runs. Current master needs Hugo ≥ 0.158, and v8.0 no longer builds on current Hugo, so both have to be upgraded together. The commits are split up for review; the site builds again from "Fix site templates for Hugo 0.169" onwards.Changes
languageCode→locale,paginate→pagination.pagerSize.capitalizeListTitles: false, so tag and category names stay lower case.privacy.googleAnalyticsinstead of a copiedhead.html.minifyOutput: falseis removed. On Hugo 0.169 it overrides--minify, which would stop the deployed site from being minified._partials/and_shortcodes/. That commit contains only renames..Site.GoogleAnalyticsand.Site.Data(both gone from current Hugo) and thepartials/prefix in partial names.footer.htmlandindex_profile.htmlnow start from the new theme's versions, with the site's changes put back.profile-mode.css(PaperMod v7.0's file) is replaced by upstream's, plus a small override that keeps the CoderDojo logos square and side by side.coderdojo_austria.html, which nothing used, and its stylesheet.AGENTS.mdnow useghcr.io/gohugoio/hugo, because thehugomods/hugoimages stop at 0.154.5.ubuntu-24.04withactions/checkout@v7.Testing
I compared a local build of
main(Hugo 0.122) with this branch (Hugo 0.169).Visible differences
de-atlocale.Known warning
"Raw HTML omitted" for a
<br/>incontent/infos/eltern/index.md. The old build already dropped it, just without a warning, so the page is unchanged.🤖 Generated with Claude Code