From 9d6ad30e9e44077846ece81cdd9e59122fccf4af Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 23 Sep 2025 23:58:28 +0200 Subject: [PATCH] Mark badges as experimental --- exampleSite/content.en/_index.md | 4 ++-- exampleSite/content.en/docs/shortcodes/badges.md | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/exampleSite/content.en/_index.md b/exampleSite/content.en/_index.md index 6b3f454..6f2d52a 100644 --- a/exampleSite/content.en/_index.md +++ b/exampleSite/content.en/_index.md @@ -8,9 +8,9 @@ layout: landing # HUGO BOOK {anchor=false} [Hugo](https://gohugo.io) documentation theme as simple as plain book -{{< badge style="info" title="Badge" value="Value" >}} {{< badge style="default" title="Badge" value="Value" >}} +{{< badge style="info" title="Hugo" value="0.146" >}} {{< badge style="default" title="License" value="MIT" >}} -{{}} +{{}} diff --git a/exampleSite/content.en/docs/shortcodes/badges.md b/exampleSite/content.en/docs/shortcodes/badges.md index 9ce552a..93d0809 100644 --- a/exampleSite/content.en/docs/shortcodes/badges.md +++ b/exampleSite/content.en/docs/shortcodes/badges.md @@ -1,13 +1,16 @@ # Badges +> [!WARNING] +> Experimental, might not stay in theme. + +Badges can be used to annotate your pages with additional information or mark specific places in markdown content. + {{< badge title="Title" value="Value" >}} {{< badge style="info" title="Hugo" value="0.147.6" >}} {{< badge style="success" title="Build" value="Passing" >}} {{< badge style="warning" title="Coverage" value="25%" >}} {{< badge style="danger" title="Issues" value="120" >}} -Badges can be used to annotate your pages with additional information or mark specific places in markdown content. - ## Examples | Shortcode | Output |