feat/update-hugo #87

Merged
jtbx merged 4 commits from feat/update-hugo into main 2025-07-26 09:44:59 +02:00
Owner

The Hugo docker image by gitlab is deprecated (see https://gitlab.com/pages/hugo#deprecation-of-container-registry), so we may want to move to another source and update to latest Hugo while we're at it.

Just wondering how much breaks that's not visible at first glance.

The Hugo docker image by gitlab is deprecated (see https://gitlab.com/pages/hugo#deprecation-of-container-registry), so we may want to move to another source and update to latest Hugo while we're at it. Just wondering how much breaks that's not visible at first glance.
See https://gitlab.com/pages/hugo#deprecation-of-container-registry
Theme,CI: Update hugo and fix for hugo v0.146
All checks were successful
/ build (pull_request) Successful in 1m9s
851166b5d6
hugo 0.146.0 refactored the template system and changed where some internal templates are located.

You can view your changes at https://staging.hamburg.ccc.de/pr87/

You can view your changes at https://staging.hamburg.ccc.de/pr87/
Owner

Just wondering how much breaks.

i tried building the site locally with a recent hugo version and it didn't work so i guess a lot

> Just wondering how much breaks. i tried building the site locally with a recent hugo version and it didn't work so i guess a lot
Author
Owner

I fixed some things and it worked locally with v0.148.1. But I would like to figure out a diff of the output files to check for hidden changes since I don't want to go through all blog posts.

I fixed some things and it worked locally with v0.148.1. But I would like to figure out a diff of the output files to check for hidden changes since I don't want to go through all blog posts.
Author
Owner

Excerpts are rendered differently now: See https://staging.hamburg.ccc.de/pr87/blog/ (rendered HTML) vs. https://hamburg.ccc.de/blog/ (plain text version of the markdown content). And tag and author names always start with a capital letter now.

Excerpts are rendered differently now: See https://staging.hamburg.ccc.de/pr87/blog/ (rendered HTML) vs. https://hamburg.ccc.de/blog/ (plain text version of the markdown content). And tag and author names always start with a capital letter now.
Owner

I was just working on re-working the CI in #88 and also noticed this.
Perhaps we want to pin the image tho and have @renovate handle the updating? This way potential breaking changes in hugo don't make the deployments stop.

I was just working on re-working the CI in #88 and also noticed this. Perhaps we want to pin the image tho and have @renovate handle the updating? This way potential breaking changes in hugo don't make the deployments stop.
Owner

@jtbx wrote in #87 (comment):

Excerpts are rendered differently now: See https://staging.hamburg.ccc.de/pr87/blog/ (rendered HTML) vs. https://hamburg.ccc.de/blog/ (plain text version of the markdown content). And tag and author names always start with a capital letter now.

Oh the excerpts do look so much better!

On the authors tho: Could the capitalization be avoided? I know some creatures prefer their nick to be not capitalized.

@jtbx wrote in https://git.hamburg.ccc.de/CCCHH/ccchh-website/pulls/87#issuecomment-2275: > Excerpts are rendered differently now: See https://staging.hamburg.ccc.de/pr87/blog/ (rendered HTML) vs. https://hamburg.ccc.de/blog/ (plain text version of the markdown content). And tag and author names always start with a capital letter now. Oh the excerpts do look so much better! On the authors tho: Could the capitalization be avoided? I know some creatures prefer their nick to be not capitalized.
jtbx force-pushed feat/update-hugo from 851166b5d6 to e334e896a8 2025-07-24 10:42:01 +02:00 Compare
Author
Owner

Fixed the author names now and also removed a work-around for the content summaries which isn't needed any more. The change in Hugo v0.134.0 is also the reason why we have HTML markup in the summaries now.
Didn't see any other changes.

Fixed the author names now and also removed a work-around for the content summaries which isn't needed any more. The change in Hugo v0.134.0 is also the reason why we have HTML markup in the summaries now. Didn't see any other changes.
june approved these changes 2025-07-25 07:14:55 +02:00
june left a comment
Owner

Looks great!

Looks great!
jtbx merged commit 3ea764708a into main 2025-07-26 09:44:59 +02:00
jtbx deleted branch feat/update-hugo 2025-07-26 09:44:59 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: CCCHH/ccchh-website#87
No description provided.