* 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
19 lines
666 B
HTML
19 lines
666 B
HTML
{% case section[0] %}
|
|
{% when "features" %}
|
|
{% assign colors = "text-gradient-aquamarine-mauve" %}
|
|
{% when "bugs" %}
|
|
{% assign colors = "text-gradient-red-orange" %}
|
|
{% when "known_issues" %}
|
|
{% assign colors = "text-gradient-dark-mint" %}
|
|
{% when "security_fixes" %}
|
|
{% assign colors = "text-gradient-coral-yellow-dark" %}
|
|
{% when "changes" %}
|
|
{% assign colors = "text-gradient-blue-purple" %}
|
|
{% when "deprecations" %}
|
|
{% assign colors = "text-gradient-dark-mint" %}
|
|
{% else %}
|
|
{% assign colors = "text-gradient-aquamarine-mauve" %}
|
|
{% endcase %}
|
|
|
|
<h4 class="{{ colors }} text-uppercase text-bold">{{ note.heading }}</h4>
|