schema is the most popular service to add badges to your repository’s Using their endpoint API, you can embed custom badges. Staart Site generates the necessary schema files with information about the number of articles.

For each category (plus the site root), a file is created. For example, ./public/shield-schema/all.json has the badge content “docs | 20 articles” if your site has a total of 20 pages.

This is what a badge looks like: Docs

The Markdown to display this badge is:


In the above Markdown example, you have to URL-encode the path to the endpoint by replacing with your root domain.