Repository navigation
landing: hero buttons from landingkit v0.21.0 (red Playground button) - #84
Merged
Merged
Conversation
The hero's hand-written button row is replaced by the kit's cta.html, fed by [[params.cta]] in hugo.toml. The Playground button becomes the kit's red btn-try with the browser icon (#83 had made it a second primary), and btn-try-style.html is added to the <head>. The footer and the hero sub-text no longer repeat "BSD-3-Clause", "CGO_ENABLED=0" and "Pure Go" when the mantra strip already says them. CI runs `landingkit check public` after the Hugo build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
….0 requires it) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Switches the hero's buttons to landingkit v0.21.0 (go-fleettools/landingkit#32), following go-numerics/go-numerics.github.io#38.
go.mod: landingkit v0.20.0 → v0.21.0. The kit needs Go ≥ 1.27.4, so thegoline moves to 1.27.4.hugo.toml:[[params.cta]]entries for docs and try.layouts/index.html:.ctarow is replaced by{{ partial "cta.html" . }}. The Playground button is now the redbtn-trywith the browser icon; landing: primary style for the Playground button #83 had made it a secondbtn-primary.btn-try-style.htmlis added afterstyles.html.{{ if not (partial "mantra-on.html" .) }}, so they are not repeated beside the mantra strip.ci.yml:landingkit check publicruns after the Hugo build.Local run:
check: 1 page(s) with the mantra strip, nothing said twice; 1 hero call-to-action row(s), rendered by the kit and in its order. Before the layout fix, the same check failed with four findings (footer ×3, hero ×1).🤖 Generated with Claude Code