Skip to content

Move from Jekyll to Hugo - #10

Merged
gshaw merged 1 commit into
mainfrom
hugo
Oct 25, 2026
Merged

gshaw merged 1 commit into
mainfrom
hugo

Conversation

@gshaw

@gshaw gshaw commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Moves landnav.app from Jekyll to Hugo, as gshaw.ca (gshaw.ca #34), aedsim.com and birdsnearme.com did. Still on Cloudflare Pages; the move to a Worker is the next PR.

Rollback: the Pages settings before this PR

Project landnav-website:

  • Build command bundle exec jekyll build, output _site, build image v3
  • Production env vars: {"RUBY_VERSION":{"type":"plain_text","value":"3.4.4"}}
  • Preview env vars: {"RUBY_VERSION":{"type":"plain_text","value":"3.4.4"}}
  • Domains: landnav-website.pages.dev, landnav.app

To roll back: PATCH those back and git revert the merge.

New settings: build command hugo --cleanDestinationDir --panicOnWarning, output public, HUGO_VERSION=0.167.0 in both, RUBY_VERSION removed.

Checked against the Jekyll build

  • Same 8 pages at the same URLs: uglyURLs keeps /privacy.html and /whatsnew/1.0.1.html (the app opens /whatsnew/<version>); /share/ and /whatsnew/ stay directory pages. Same 14 other files byte for byte, .well-known/apple-app-site-association included.
  • Every page's <title>, description, canonical and Open Graph tags identical.
  • Visible text and links identical on every page but two, both explained:
    • support's mailto: is now percent-encoded, which mail apps decode to the same subject.
    • devlog: kramdown read - [x] Show Waypoint Name (Always | When Selected | Never) as a table, with the [x] as text. Hugo renders it as the checked list item it was written as. The wording is unchanged.
  • Screenshots pixel-identical on 6 of 8 pages. Devlog also differs by goldmark's space after each task-list checkbox (text 5 px further right), as on aedsim.com. /share/?ll=49.28,-123.12 looks the same in both; its pixels differ only by live OpenStreetMap tiles. Its inline CSS loses its comments (Hugo strips them in <style>).
  • mise run check: cspell 23 files, markdownlint passed, lychee 77 OK, 0 errors.

The home page's App Store <div> lost its blank lines: a blank line ends a raw HTML block in goldmark, which wrapped the badge in a <p> and pushed it down. lychee needs a --remap to check /whatsnew/1.0.1, because it reads .1 as an extension and skips the .html fallback; a missing release page still fails the check.

Before (Jekyll) and after (Hugo), home page:

Before: Jekyll
After: Hugo

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Deploying landnav-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 494ed3f
Status: ✅  Deploy successful!
Preview URL: https://4c535d93.landnav-website.pages.dev
Branch Preview URL: https://hugo.landnav-website.pages.dev

View logs

@gshaw

gshaw commented Oct 25, 2026

Copy link
Copy Markdown
Owner Author

Preview https://hugo.landnav-website.pages.dev after the settings switch and a retried build: all 21 files 200 with the local build's bytes, .well-known/apple-app-site-association served as before (application/octet-stream, same as live), /share/?ll=… 200, /whatsnew 308 to /whatsnew/ and /whatsnew/1.0.1 200, as on the live site, an unknown URL 404. No redirects or feed on this site. CI passes.

@gshaw
gshaw merged commit c2a944a into main Oct 25, 2026
2 checks passed
@gshaw
gshaw deleted the hugo branch October 25, 2026 16:25
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