* Add 2.22.0 * Add 2.22.1 * Add 2.22.2 * Add 2.22.3 * Add 2.22.4 * Lint YAML files * intro shouldn't be required * Align all notes * Full height sidebar * Make the sidebar full height properly * Get the real layout going * Include full name * Move details > summary around * Fix sticky sidebar * Tweak bottom of page * Add more label colors * Change heading title * Don't be <details>, change sticky header * Include other releases' info * Show prev/next links * Change sidenav to show all releases * Fix ordering of chevron * Fix link underlines * Collapsing minor versions * Moar padding * Setup schema for sub-sections * Update a YAML file to match schema * Redo rendering/sorting logic * Update layout * Convert remaining notes * Improve schema * Use proper min properties * Custom bullet points * Show details control for version picker * Improve layout on small screens * One more tiny fix * Order by semver * Use proper version in details * Fix extra arrows showing up * Change label colors * Pass the reference check * Add gradients * Gradient all the things
26 lines
978 B
HTML
26 lines
978 B
HTML
{% case section[0] %}
|
|
{% when "features" %}
|
|
{% assign colors = "bg-gradient-aquamarine-mauve text-white" %}
|
|
{% assign text = "Features" %}
|
|
{% when "bugs" %}
|
|
{% assign colors = "bg-gradient-red-orange text-white" %}
|
|
{% assign text = "Bug fixes" %}
|
|
{% when "known_issues" %}
|
|
{% assign colors = "bg-gradient-dark-mint text-white" %}
|
|
{% assign text = "Known issues" %}
|
|
{% when "security_fixes" %}
|
|
{% assign colors = "bg-gradient-coral-yellow text-white" %}
|
|
{% assign text = "Security fixes" %}
|
|
{% when "changes" %}
|
|
{% assign colors = "bg-gradient-blue-purple text-white" %}
|
|
{% assign text = "Changes" %}
|
|
{% when "deprecations" %}
|
|
{% assign colors = "bg-gradient-mint-blue text-white" %}
|
|
{% assign text = "Deprecations" %}
|
|
{% else %}
|
|
{% assign colors = "bg-blue text-white" %}
|
|
{% assign text = "INVALID SECTION" %}
|
|
{% endcase %}
|
|
|
|
<span class="{{ colors }} px-3 py-2 f5 text-uppercase text-mono">{{ text }}</span>
|