Skip to content

Hugo update #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Hugo update #359

wants to merge 2 commits into from

Conversation

falkmielke
Copy link
Contributor

Description

The Hugo build instructions were a bit dated.
The site would not build locally any more.

ERROR deprecated: site config key paginate was deprecated in Hugo v0.128.0 and subsequently removed. Use pagination.pagerSize instead.
Start building sites …
hugo v0.144.1+extended+withdeploy linux/amd64 BuildDate=unknown

ERROR deprecated: .Site.LastChange was deprecated in Hugo v0.123.0 and subsequently removed. Use .Site.Lastmod instead.

More errors were related to changed partials from the minimo theme.

I have also attempted to update the github actions workflow.

This is the attempt to migrate to the latest versions of hugo and minimo.

@falkmielke
Copy link
Contributor Author

Tested, seems to work.
Thank you in advance for your review!

falkmielke added a commit that referenced this pull request Feb 21, 2025
curly brackets did not go well with the hugo update
#359
@falkmielke
Copy link
Contributor Author

Update:
I attempted to get full math equation support for quarto documents, and reached out to the quarto discussions for help.

@falkmielke
Copy link
Contributor Author

Note: I get error messages when trying to hugo server locally (hugo version 0.145.0-3). We should double check to make this future proof.

ERROR deprecated: site config key paginate was deprecated in Hugo v0.128.0 and subsequently removed. Use pagination.pagerSize instead.
Watching for changes in /data/git/tutorials_pr/{content,data,layouts,package.json,static,themes}
Watching for config changes in /data/git/tutorials_pr/config.toml
Start building sites …
hugo v0.145.0+extended+withdeploy linux/amd64 BuildDate=unknown

ERROR deprecated: .Site.LastChange was deprecated in Hugo v0.123.0 and subsequently removed. Use .Site.Lastmod instead.
ERROR render of "/data/git/tutorials_pr/content/articles/_index.md" failed: "/data/git/tutorials_pr/themes/minimo/layouts/_default/list.html:1:3": execute of template failed: template: _default/list.html:1:3: executing "_default/list.html" at <partial "header" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/header.html:4:4": execute of template failed: template: partials/header.html:4:4: executing "partials/header.html" at <partial "head/head" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/head.html:9:5": execute of template failed: template: partials/head/head.html:9:5: executing "partials/head/head.html" at <partial "head/includes" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/includes.html:14:4": execute of template failed: template: partials/head/includes.html:14:4: executing "partials/head/includes.html" at <partial "head/analytics" .>: error calling partial: execute of template failed: html/template:partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"
ERROR render of "/data/git/tutorials_pr/content/_index.md" failed: "/data/git/tutorials_pr/themes/minimo/layouts/index.html:1:3": execute of template failed: template: index.html:1:3: executing "index.html" at <partial "header" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/header.html:4:4": execute of template failed: template: partials/header.html:4:4: executing "partials/header.html" at <partial "head/head" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/head.html:9:5": execute of template failed: template: partials/head/head.html:9:5: executing "partials/head/head.html" at <partial "head/includes" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/includes.html:14:4": execute of template failed: template: partials/head/includes.html:14:4: executing "partials/head/includes.html" at <partial "head/analytics" .>: error calling partial: execute of template failed: html/template:partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"
ERROR render of "/404" failed: "/data/git/tutorials_pr/themes/minimo/layouts/404.html:1:3": execute of template failed: template: 404.html:1:3: executing "404.html" at <partial "header" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/header.html:4:4": execute of template failed: template: partials/header.html:4:4: executing "partials/header.html" at <partial "head/head" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/head.html:9:5": execute of template failed: template: partials/head/head.html:9:5: executing "partials/head/head.html" at <partial "head/includes" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/includes.html:14:4": execute of template failed: template: partials/head/includes.html:14:4: executing "partials/head/includes.html" at <partial "head/analytics" .>: error calling partial: execute of template failed: html/template:partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"
ERROR render of "/data/git/tutorials_pr/content/articles/computing/index.md" failed: "/data/git/tutorials_pr/themes/minimo/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/header.html:4:4": execute of template failed: template: partials/header.html:4:4: executing "partials/header.html" at <partial "head/head" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/head.html:9:5": execute of template failed: template: partials/head/head.html:9:5: executing "partials/head/head.html" at <partial "head/includes" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/includes.html:14:4": execute of template failed: template: partials/head/includes.html:14:4: executing "partials/head/includes.html" at <partial "head/analytics" .>: error calling partial: execute of template failed: html/template:partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"
Built in 76 ms
Error: error building site: render: failed to render pages: render of "/data/git/tutorials_pr/content/articles/skills/index.md" failed: "/data/git/tutorials_pr/themes/minimo/layouts/_default/single.html:1:3": execute of template failed: template: _default/single.html:1:3: executing "_default/single.html" at <partial "header" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/header.html:4:4": execute of template failed: template: partials/header.html:4:4: executing "partials/header.html" at <partial "head/head" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/head.html:9:5": execute of template failed: template: partials/head/head.html:9:5: executing "partials/head/head.html" at <partial "head/includes" .>: error calling partial: "/data/git/tutorials_pr/themes/minimo/layouts/partials/head/includes.html:14:4": execute of template failed: template: partials/head/includes.html:14:4: executing "partials/head/includes.html" at <partial "head/analytics" .>: error calling partial: execute of template failed: html/template:partials/head/analytics.html:1:13: no such template "_internal/google_analytics_async.html"

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