Some badges that may be useful in module/theme README

Hi, I created some APIs for getting the information about the Hugo theme/module, those APIs can be integrated with Shields.io to create some badges.

  • Hugo Requirements: https://img.shields.io/badge/dynamic/json?color=important&label=requirements&query=requirements&logo=hugo&url=https://api.razonyang.com/v1/hugo/modules/github.com/{owner}/{repo}
  • Used By how many repositories: https://img.shields.io/badge/dynamic/json?color=success&label=used-by&query=repositories_humanize&logo=hugo&url=https://api.razonyang.com/v1/github/dependents/{owner}/{repo}

The badges of the gohugoioTheme.

Hugo Requirements Used By

1 Like