From fbf58eff4262ed0d1bce7fa548a8f01294f7d1e1 Mon Sep 17 00:00:00 2001 From: Ruidy Date: Thu, 21 Nov 2024 05:23:00 +0100 Subject: [PATCH] Refresh documentation (#39) * minor documentation fixes * fix Hugo warnings * add openssf badge --- README.md | 1 + docs/themes/hugo-geekdoc/layouts/partials/language.html | 2 +- .../layouts/partials/microformats/opengraph.html | 2 +- .../layouts/partials/microformats/twitter_cards.html | 2 +- go.mod | 2 +- join.go | 4 ++-- orderBy.go | 5 +++-- pointers.go | 2 +- range.go | 2 +- slices.go | 4 ++-- sum.go | 4 ++-- ternary.go | 2 ++ tuple.go | 2 ++ unique.go | 1 + zip.go | 2 +- 15 files changed, 22 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index deecf5e..5962609 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Go version](https://img.shields.io/github/go-mod/go-version/rjNemo/underscore?style=for-the-badge&logo=go)](https://pkg.go.dev/github.com/rjNemo/underscore) ![Go report](https://goreportcard.com/badge/github.com/rjNemo/underscore?style=for-the-badge) ![test coverage](https://img.shields.io/codecov/c/github/rjNemo/underscore?style=for-the-badge&logo=codecov) +[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9726/badge?style=for-the-badge)](https://www.bestpractices.dev/projects/9726) ![underscore](https://socialify.git.ci/rjNemo/underscore/image?description=1&font=KoHo&language=1&logo=https%3A%2F%2Fraw.githubusercontent.com%2FrjNemo%2Funderscore%2Fmain%2Fdocs%2Fstatic%2Flogo.png&owner=1&pattern=Floating%20Cogs&stargazers=1&theme=Dark) diff --git a/docs/themes/hugo-geekdoc/layouts/partials/language.html b/docs/themes/hugo-geekdoc/layouts/partials/language.html index 845b92b..26db239 100644 --- a/docs/themes/hugo-geekdoc/layouts/partials/language.html +++ b/docs/themes/hugo-geekdoc/layouts/partials/language.html @@ -1,4 +1,4 @@ -{{ if .Site.IsMultiLingual }} +{{ if hugo.IsMultilingual }}