From 3fbfaf64912969a40db5530a62f918e62bb6caad Mon Sep 17 00:00:00 2001 From: tannevaled Date: Fri, 9 Oct 2026 20:41:50 +0200 Subject: [PATCH] Drop Playground from the nav bar; a "Try it in your browser" hero button The nav link was the only way from the home page to /playground/, so it moves to the hero, in the slot "Browse the source" left, as on go-fft.github.io. The play icon is Octicons (MIT), copied verbatim from go-fft's partial; its path matches @primer/octicons play-16. Co-Authored-By: Claude Opus 5.5 --- layouts/index.html | 3 ++- layouts/partials/icons/play.html | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/icons/play.html diff --git a/layouts/index.html b/layouts/index.html index ba34514..1e5ed0b 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,7 +11,7 @@ {{ partial "fork-ribbon.html" "https://github.com/go-ndarray/ndarray" }} @@ -22,6 +22,7 @@

NumPy-style n-dimensional arrays in pure Go.
go-ndarray is the numpy equivalent for Go: a float64 n-dimensional array with creation routines, strided views that share data, broadcasting elementwise ops and ufuncs, reductions (incl. arg / cumulative / clip / where), manipulation, and linear algebra (a panel-packed, cache-blocked GEMM) — all in pure Go, with cgo disabled.

{{ len .Site.Params.families }} API families, NumPy's names6 SIMD targetsCGO=0 no BLAS shim
diff --git a/layouts/partials/icons/play.html b/layouts/partials/icons/play.html new file mode 100644 index 0000000..371f53c --- /dev/null +++ b/layouts/partials/icons/play.html @@ -0,0 +1,5 @@ +{{- /* Octicons "play" (16 px), @primer/octicons@19.15.0, copied verbatim, MIT, + (c) GitHub Inc.: the licence is OCTICONS-LICENSE beside this file. + currentColor follows the button in light and dark; aria-hidden, since + the button's text already says where it leads. */ -}} +