Skip to content

feat: the landing on landingkit v0.6.0, with the mantra strip - #4

Merged
tannevaled merged 1 commit into
mainfrom
feat/landingkit
Oct 23, 2026
Merged

tannevaled merged 1 commit into
mainfrom
feat/landingkit

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

This PR moves the landing onto the shared landing kit, go-fleettools/landingkit v0.6.0. It is wave 3 of the fleet's migration, done with landingmigrate (go-fleettools/fleettools).

What changes

  • The design comes from the kit module, not from copies of it. This landing already used the kit's layout with copies of its partials, so the layout is unchanged. The copies are replaced by the module, which brings v0.6.0's fixes: the dark-mode accent contrast, the strip, and the hero carousel option.
  • Removed: layouts/partials/styles.html, layouts/partials/theme-toggle.html, layouts/partials/fork-ribbon.html, layouts/partials/icons/book.html, layouts/partials/icons/github.html, layouts/partials/icons/OCTICONS-LICENSE, because the kit ships them, and a local copy would silently override the kit's.
  • Added: go.mod and kit.go, so Renovate bumps the kit. hugo.toml gets the module import and a [params.brand] block read from the logo by landingkit brand.
  • actions/setup-go is added to .github/workflows/ci.yml, .github/workflows/hugo.yml, .github/workflows/links.yml, because hugo fetches the module with the go command.
  • The mantra strip under the top bar shows LICENSE=BSD-3-Clause and CGO_ENABLED=0.

Repeats hidden while the strip shows

The strip already says these. Each is wrapped in {{ if not (partial "mantra-on.html" $) }}, so it comes back if the strip is ever turned off:

  • footer: · BSD-3-Clause

Kept: these mention the licence or cgo and say more (please review)

  • sentence: It writes SVG and PNG, sets labels with a real TeX math typesetter, and needs no Python and no cgo: one static binary, js/wasm included.

Verified

I built the old page, the new page, and the new page with the strip off, then ran landingmigrate verify:

VERIFIED 226 text nodes, 14 links, 2 pictures of the old page kept; the strip-on page is the strip-off page minus 1 hidden repeat(s)

Every text node, link and picture of the old page is still on the new page. With the strip on, the page is the strip-off page minus exactly the hidden repeats.

🤖 Generated with Claude Code

Moved by landingmigrate: the kit's layout around the same content, the
kit's partials no longer copied here, go.mod and kit.go so Renovate bumps
the kit, [params.brand] read from the logo, setup-go for the module. 1
repeat(s) of the strip hidden while it shows, 1 kept for review.
Verified: nothing of the old page lost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 2d16946 into main Oct 23, 2026
4 checks passed
@tannevaled
tannevaled deleted the feat/landingkit branch October 23, 2026 19:49
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