Conversation
Co-authored-by: neilenns <9524118+neilenns@users.noreply.github.com>
Deploying mobiflight-docs with
|
| Latest commit: |
90b567f
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c2ccf691.mobiflight-docs.pages.dev |
| Branch Preview URL: | https://copilot-upgrade-hextra-v012.mobiflight-docs.pages.dev |
Co-authored-by: neilenns <9524118+neilenns@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade to Hextra v0.12 and modify templates
Upgrade to Hextra v0.12
Mar 16, 2026
Collaborator
|
@copilot Good start. There are these two warnings to address: WARN The 'items' parameter of the 'tabs' shortcode is deprecated. Please use 'name' on 'tab' instead. |
Co-authored-by: neilenns <9524118+neilenns@users.noreply.github.com>
Collaborator
|
@copilot Tested this deployed to Cloudflare and the og images aren't working. Looking at the page header HTML here's the path generated: But navigating to that URL results in a 404. |
Copilot stopped work on behalf of
neilenns due to an error
March 16, 2026 18:21
neilenns
approved these changes
Mar 16, 2026
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 Hextra from v0.9.3 to v0.12.1, Hugo to v0.157.0, and Go to v1.26.0. The previous attempt failed because overridden partials referenced internal Hextra helpers that no longer exist in the new template system.
Dependency updates
go.mod); devcontainer imagego:1→go:dev-1.26Removed
layouts/partials/head.htmlCalled
head-css.htmlwhich no longer exists in Hextra v0.12. CSS loading, dark mode initialization, and Google Analytics are now handled natively by Hextra.Replaced
layouts/partials/opengraph.htmlThe old partial used a custom
ogimagefront matter key. The new version uses Hextra's standardimagesarray parameter but extends the built-in lookup to also resolve global assets viaresources.Get(needed because card images live in/assets/and are converted to WebP by the card shortcode — the originals aren't published unless explicitly fetched):All 95 content files updated from
ogimage: path→images: [path].Updated
layouts/partials/footer.html.Scratch.Get→.Store.Get(.Scratchdeprecated in Hugo v0.140+)hx-→hx:(Hextra v0.10+ switched to Tailwind'sprefixconfig)hextra-max-footer-widthCSS classEnabled llms.txt generation
Admin actions still required
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.jsdelivr.net/usr/local/bin/hugo hugo --gc(dns block)dl.google.com/usr/bin/go /usr/bin/go mod download grep -l ogimage s/content/game-controllers/winctrl/winctrl-cdu/detailed-aircraft-information/index.md(dns block)/usr/bin/go /usr/bin/go mod download grep -l ogimage s/content/game-controllers/winctrl/premade-profiles/index.md k/_temp/ghcca-node/node/bin/grep(dns block)/usr/bin/go /usr/bin/go mod download grep odes�� ogimage s/content/game-controllers/vkb/_index.md ndor/bin/grep(dns block)gohugo.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)imfing.github.io/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.