diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml
index fae34a4..b17ce26 100644
--- a/.github/workflows/deploy-pages.yml
+++ b/.github/workflows/deploy-pages.yml
@@ -29,6 +29,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v7
+ # Hugo resolves the landingkit module (hugo.toml [module]) with the go
+ # command, at the version go.mod pins.
+ - uses: actions/setup-go@v7
+ with:
+ go-version-file: go.mod
+ cache: false
+
- name: Set up Hugo
uses: peaceiris/actions-hugo@v3
with:
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..d9a7d42
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module github.com/go-embedded-ruby/go-embedded-ruby.github.io
+
+go 1.27.1
+
+require github.com/go-fleettools/landingkit v0.2.0
diff --git a/go.sum b/go.sum
new file mode 100644
index 0000000..decc912
--- /dev/null
+++ b/go.sum
@@ -0,0 +1,2 @@
+github.com/go-fleettools/landingkit v0.2.0 h1:p/LXzr65oSSr42Fvdk2PyWpyWxaCtUoRelNt2WSI4FI=
+github.com/go-fleettools/landingkit v0.2.0/go.mod h1:NUBMh7cVFUfD/hX6Xv5ef2O/r4F6rPtPGGVd3T+9qc0=
diff --git a/hugo.toml b/hugo.toml
index 096d003..1dc2147 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -5,6 +5,35 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"]
[markup.goldmark.renderer]
unsafe = true
+# The design -- layouts/partials/styles.html, theme-toggle.html,
+# fork-ribbon.html and icons/{github,book}.html -- comes from the shared Hugo
+# module github.com/go-fleettools/landingkit, not from copies here: the copies
+# drifted. Its version is pinned in go.mod (Renovate bumps it), and kit.go
+# keeps `go mod tidy` from deleting that requirement. A file of the same name
+# under layouts/partials/ would silently override the module's.
+[module]
+ [[module.imports]]
+ path = "github.com/go-fleettools/landingkit"
+
+[params.brand]
+# Generated by go-fleettools/landingkit from static/img/logo.svg: the colours are
+# READ from the logo's gradient, never chosen. Do not add other keys:
+# neutrals (backgrounds, surfaces, greys) belong to the shared sheet.
+# Contrast: base on white 8.08:1, bright on the dark background 5.29:1.
+ base = "#9b1c2e"
+ deep = "#5f111c"
+ bright = "#f0475a"
+ shadow = "rgba(155,28,46,.7)"
+ glow = "rgba(155,28,46,.6)"
+ wash = "rgba(155,28,46,.10)"
+ washDeep = "rgba(95,17,28,.06)"
+ chipBg = "#fde9eb"
+ chipBorder = "#fac8ce"
+ chipFg = "#5f111c"
+ chipBgDark = "rgba(240,71,90,.14)"
+ chipBorderDark = "rgba(240,71,90,.32)"
+ chipFgDark = "#f79aa4"
+
[[params.phases]]
name = "Phase 0 — Vertical slice"
status = "ready"
diff --git a/kit.go b/kit.go
new file mode 100644
index 0000000..72ac4fb
--- /dev/null
+++ b/kit.go
@@ -0,0 +1,9 @@
+//go:build tools
+
+// This file never builds. A Hugo site has no Go code, so `go mod tidy` --
+// which Renovate runs after every bump -- would find nothing that uses
+// github.com/go-fleettools/landingkit and delete its requirement from go.mod.
+// Importing it here keeps it. See the landingkit README.
+package site
+
+import _ "github.com/go-fleettools/landingkit"
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 36d54e1..1153651 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -13,8 +13,8 @@
go-embedded-ruby
{{ partial "theme-toggle.html" . }}
- {{ partial "icons/mark-github.html" . }}GitHub
+ {{ partial "fork-ribbon.html" "https://github.com/go-embedded-ruby/ruby" }}
One binary. Six architectures. No cgo, no runtime to install. Embed a real Ruby — or compile it away. Open infrastructure, governed as a commons.
- {{ partial "icons/mark-github.html" . }}Read the source on GitHub → + {{ partial "icons/github.html" . }}Read the source on GitHub →