Updates to bring site to new Hugo version#149
Draft
tstolarski wants to merge 11 commits into
Draft
Conversation
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.
✅ Deploy Preview for peppy-otter-7a55ad ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
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
After
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
masterand removing commitbb3a10ccd42e52056dc3fb57f29809927cb7a5edshould do it.