mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-18 10:50:24 +00:00
docs: put releasenotes legend in snippet #917
This commit is contained in:
parent
9f9e449be8
commit
6ac6a48df0
3 changed files with 24 additions and 33 deletions
17
exampleSite/content/basics/releasenotes/legend.en.md
Normal file
17
exampleSite/content/basics/releasenotes/legend.en.md
Normal 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.
|
||||
|
||||
---
|
6
exampleSite/content/basics/releasenotes/legend.pir.md
Normal file
6
exampleSite/content/basics/releasenotes/legend.pir.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
[_build]
|
||||
list = "never"
|
||||
publishResources = false
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -5,39 +5,7 @@
|
|||
</header>
|
||||
{{ 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
|
||||
"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 "partials/shortcodes/include.html" (dict "page" . "file" "basics/releasenotes/legend") | .RenderString }}
|
||||
|
||||
{{ partial "article-content.html" . }}
|
||||
<footer class="footline">
|
||||
|
|
Loading…
Reference in a new issue