Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -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=
29 changes: 29 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
9 changes: 9 additions & 0 deletions kit.go
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<a class="brand" href="/"><img class="glyph" src="/img/logo.svg" width="32" height="32" alt="go-embedded-ruby logo"> go-embedded-ruby</a>
<nav><a href="/#features">Features</a><a href="/performance/">Performance</a><a href="/#road">Roadmap</a><a href="/#eco">Ecosystem</a></nav>
{{ partial "theme-toggle.html" . }}
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}GitHub</a>
</div></header>
{{ partial "fork-ribbon.html" "https://github.com/go-embedded-ruby/ruby" }}

<div class="phero"><div class="pwrap">
<span class="eyebrow">Performance</span>
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<a class="brand" href="/"><img class="glyph" src="/img/logo.svg" width="32" height="32" alt="go-embedded-ruby logo"> go-embedded-ruby</a>
<nav><a href="#features">Features</a><a href="/performance/">Performance</a><a href="#road">Roadmap</a><a href="#eco">Ecosystem</a></nav>
{{ partial "theme-toggle.html" . }}
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}GitHub</a>
</div></header>
{{ partial "fork-ribbon.html" "https://github.com/go-embedded-ruby/ruby" }}

<div class="hero"><div class="wrap">
<div>
Expand Down Expand Up @@ -98,7 +98,7 @@ <h2>Lexer to AOT, in nine phases.</h2>
<div class="band">
<h2>Ruby that ships like Go.</h2>
<p>One binary. Six architectures. No cgo, no runtime to install. Embed a real Ruby — or compile it away. Open infrastructure, governed as a commons.</p>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/mark-github.html" . }}Read the source on GitHub →</a>
<a class="btn btn-ghost" href="https://github.com/go-embedded-ruby/ruby">{{ partial "icons/github.html" . }}Read the source on GitHub →</a>
</div>
</div></section>

Expand Down
5 changes: 0 additions & 5 deletions layouts/partials/icons/mark-github.html

This file was deleted.

193 changes: 0 additions & 193 deletions layouts/partials/styles.html

This file was deleted.

1 change: 0 additions & 1 deletion layouts/partials/theme-toggle.html

This file was deleted.

Loading