oficina / estilo Public

credits: give Onest its version, the Google Fonts release it came from

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 683ccd534ead59d0fd77791e555ffaf8855b0f31 parent 0f830bc
1 file changed, +3 −1
  • credits/fonts.go +3 −1

CI passed — run details

diff --git a/credits/fonts.go b/credits/fonts.go
index 3cd35f1..08990f7 100644
--- a/credits/fonts.go
+++ b/credits/fonts.go
@@ -9,5 +9,7 @@ var onestNotice string
// which estilo's theme package embeds and serves (theme/fonts.go). An app
// that mounts theme.FontHandler lists it on its credits page.
func Onest() Component {
- return Component{Name: "Onest", SourceURL: "https://github.com/googlefonts/onest", Notices: []Notice{{Name: "OFL.txt", Text: onestNotice}}}
+ // The version is the Google Fonts release the embedded file came from
+ // (its gstatic path, recorded in notices/onest-provenance.json).
+ return Component{Name: "Onest", Version: "Google Fonts v11", SourceURL: "https://github.com/googlefonts/onest", Notices: []Notice{{Name: "OFL.txt", Text: onestNotice}}}
}