docs: put releasenotes legend in snippet #917

This commit is contained in:
Sören Weber 2024-09-17 08:02:27 +02:00
parent 9f9e449be8
commit 6ac6a48df0
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 24 additions and 33 deletions

View file

@ -0,0 +1,17 @@
+++
[_build]
list = "never"
publishResources = false
+++
For a detailed list of changes, see the [history page](basics/history).
- {{% badge color="fuchsia" icon="fa-fw fab fa-hackerrank" title=" " %}}0.126.0{{% /badge %}} The minimum required Hugo version.
- {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} A change that requires action by you after upgrading to assure the site is still functional.
- {{% badge style="note" title=" " %}}Change{{% /badge %}} A change in default behavior that may requires action by you if you want to revert it.
- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} Marks new behavior you might find interesting or comes configurable.
---

View file

@ -0,0 +1,6 @@
+++
[_build]
list = "never"
publishResources = false
+++
{{< piratify >}}

View file

@ -5,39 +5,7 @@
</header> </header>
{{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }} {{ partial "heading-pre.html" . }}{{ partial "heading.html" . }}{{ partial "heading-post.html" . }}
<p>This document shows you what's new in the release and flags it with one of the following badges. For a detailed list of changes, see the {{ partial "shortcodes/link.html" (dict {{ partial "partials/shortcodes/include.html" (dict "page" . "file" "basics/releasenotes/legend") | .RenderString }}
"page" .
"url" "basics/history"
"content" "history page"
) }}.</p>
<ul>
<li><p>{{ partial "shortcodes/badge.html" (dict
"page" .
"color" "fuchsia"
"icon" "fa-fw fab fa-hackerrank"
"content" "0.126.0"
)}} The minimum required Hugo version.</p></li>
<li><p>{{ partial "shortcodes/badge.html" (dict
"page" .
"style" "warning"
"title" " "
"content" "Breaking"
)}} A change that requires action by you after upgrading to assure the site is still functional.</p></li>
<li><p>{{ partial "shortcodes/badge.html" (dict
"page" .
"style" "note"
"title" " "
"content" "Change"
)}} A change in default behavior that may requires action by you if you want to revert it.</p></li>
<li><p>{{ partial "shortcodes/badge.html" (dict
"page" .
"style" "info"
"title" " "
"icon" "plus-circle"
"content" "New"
)}} Marks new behavior you might find interesting or comes configurable.</p></li>
</ul>
<hr>
{{ partial "article-content.html" . }} {{ partial "article-content.html" . }}
<footer class="footline"> <footer class="footline">