Skip to content

landing: hero buttons from landingkit v0.21.0 (red Playground button) - #84

Merged
tannevaled merged 2 commits into
mainfrom
landing/kit-cta
Nov 11, 2026
Merged

tannevaled merged 2 commits into
mainfrom
landing/kit-cta

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

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 the go line moves to 1.27.4.
  • hugo.toml: [[params.cta]] entries for docs and try.
  • layouts/index.html:
    • The hand-written .cta row is replaced by {{ partial "cta.html" . }}. The Playground button is now the red btn-try with the browser icon; landing: primary style for the Playground button #83 had made it a second btn-primary.
    • btn-try-style.html is added after styles.html.
    • The footer and the hero sub-text wrap "BSD-3-Clause", "CGO_ENABLED=0" and "Pure Go" in {{ if not (partial "mantra-on.html" .) }}, so they are not repeated beside the mantra strip.
  • ci.yml: landingkit check public runs 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

tannevaled and others added 2 commits November 11, 2026 09:51
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>
@tannevaled
tannevaled merged commit 2825104 into main Nov 11, 2026
7 checks passed
@tannevaled
tannevaled deleted the landing/kit-cta branch November 11, 2026 08:58
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