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/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ jobs:
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"

# The landing kit's own rules, read from the BUILT site (a hand-written
# cta row, a playground link that is not btn-try, a fact said twice).
- name: Check the landing against the kit
env:
GOWORK: "off"
run: go run github.com/go-fleettools/landingkit/cmd/landingkit check public

- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/go-webengine/go-webengine.github.io

go 1.27.3
go 1.27.4

require github.com/go-fleettools/landingkit v0.20.0
require github.com/go-fleettools/landingkit v0.26.0
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/go-fleettools/landingkit v0.20.0 h1:gX+9LvgfxD1LW6igdQD05DegqIIkvDO5QSotCAPgj3Q=
github.com/go-fleettools/landingkit v0.20.0/go.mod h1:gBpbziqFcmcjtNknPjy5+AAzGZ5L+pPr9mIJZHpDlZc=
github.com/go-fleettools/landingkit v0.26.0 h1:X5H3KbnruK9NdK4m2zhUrBFh1Tq4ySnVNUVNNwhrSZk=
github.com/go-fleettools/landingkit v0.26.0/go.mod h1:jSXTO7FVKNXCK1aJjLq7H7x8d8wxDoXe3ncXWGcAKRE=
16 changes: 16 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ disableKinds = ["taxonomy", "term", "RSS", "sitemap", "404"]
[markup.goldmark.renderer]
unsafe = true

# The architectures the tests RUN on (engine ci.yml: the test lanes run on
# ubuntu-latest, amd64; its six-architecture job only cross-builds, and the
# suite is not run under qemu because the rendering needs real fonts).
[params.mantra]
goarch = ["amd64"]

# The hero's buttons, rendered by landingkit's cta.html in the kit's order.
[[params.cta]]
kind = "docs"
href = "https://go-webengine.github.io/docs/"
label = "Documentation"
[[params.cta]]
kind = "github"
href = "https://github.com/go-webengine/engine"
label = "GitHub"

# Code repositories in the org. `type` = lib / cli / infra.
[[params.repos]]
name = "engine"
Expand Down
8 changes: 3 additions & 5 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ <h1 class="head">go-webengine</h1>
<p class="sub">A pure-Go, <strong>headless web engine</strong> — give it a URL,
get back an <strong>image of the page</strong>. HTML/CSS layout and paint with
<strong>no Chromium and no cgo</strong>.</p>
<div class="cta">
<a class="btn btn-primary" href="https://go-webengine.github.io/docs/">{{ partial "icons/book.html" . }}Documentation</a>
<a class="btn btn-ghost" href="https://github.com/go-webengine/engine">{{ partial "icons/github.html" . }}GitHub</a>
</div>
<div class="trust">{{ if not (partial "mantra-on.html" $) }}<span class="pill">CGO_ENABLED=0</span>{{ end }}<span class="pill">no Chromium · no host web view</span><span class="pill">JavaScript (goja) + real DOM</span><span class="pill">flex · grid · tables · position</span><span class="pill">gradients · box-shadow · SVG</span><span class="pill">amd64 · arm64 · riscv64 · loong64 · ppc64le · s390x</span><span class="pill">ratchet coverage gate</span><span class="pill">measured vs headless Chrome</span></div>
{{/* [[params.cta]] in hugo.toml: the kit renders the row */}}
{{ partial "cta.html" . }}
<div class="trust">{{ if not (partial "mantra-on.html" $) }}<span class="pill">CGO_ENABLED=0</span>{{ end }}<span class="pill">no Chromium · no host web view</span><span class="pill">JavaScript (goja) + real DOM</span><span class="pill">flex · grid · tables · position</span><span class="pill">gradients · box-shadow · SVG</span><span class="pill">ratchet coverage gate</span><span class="pill">measured vs headless Chrome</span></div>
</div>
{{ partial "hero-carousel.html" . }}
</div></div>
Expand Down
Loading