Skip to content

Updates to bring site to new Hugo version#149

Draft
tstolarski wants to merge 11 commits into
RSE-Sheffield:masterfrom
tstolarski:maintenance/hugo-upgrade
Draft

Updates to bring site to new Hugo version#149
tstolarski wants to merge 11 commits into
RSE-Sheffield:masterfrom
tstolarski:maintenance/hugo-upgrade

Conversation

@tstolarski
Copy link
Copy Markdown

This PR updates the Hugo version, changes the theme to a successor that is maintained and compatible, and makes some adjustments to improve its appearance with the new changes.

There are also some incidental fixes for things I found while reviewing, including e.g. changing "Github" to "GitHub" across all of the pages.

Some of the appearance and functionality is slightly different, owing mainly to the theme change, but otherwise things look mostly the same. A few of the changes in the upstream theme actually make things look slightly better in some cases, such as the maximum presentation width for wide monitors and fixing some layout oddities.

Screenshots

Before

Before screenshot

After

After screenshot

I'm putting this pull request up as a draft because it bases itself on the branch introducing GitHub Actions at #148 . Once that PR is merged, this PR can be merged without causing any conflicts. If we want to merge this one first, rebasing on master and removing commit bb3a10ccd42e52056dc3fb57f29809927cb7a5ed should do it.

This makes it build on Hugo v0.160.1, but not without some issues. I'll fix these in later commits, this one is designed to be the minimum amount of effort required to actually cause the build.
These partials were designed to give functionality that the old theme didn't have by stock, but the new theme does.

We're better off not overriding them now because it lets the theme make better decisions about how to lay out the page.
This is where they should reside in modern Hugo.
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 27, 2026

Deploy Preview for peppy-otter-7a55ad ready!

Name Link
🔨 Latest commit 3380de8
🔍 Latest deploy log https://app.netlify.com/projects/peppy-otter-7a55ad/deploys/69ef5d5aa6b5400008a4f57b
😎 Deploy Preview https://deploy-preview-149--peppy-otter-7a55ad.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant