diff --git a/includes/release-notes-category-label.html b/includes/release-notes-category-label.html index d14441c921..c1b6783196 100644 --- a/includes/release-notes-category-label.html +++ b/includes/release-notes-category-label.html @@ -1,25 +1,18 @@ {% 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 %} -{{ text }} +{{ text }} diff --git a/includes/release-notes-heading.html b/includes/release-notes-heading.html index dbb2e409c1..44d2553a56 100644 --- a/includes/release-notes-heading.html +++ b/includes/release-notes-heading.html @@ -1,18 +1,5 @@ -{% 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 %} +{% assign slug = note.heading | slugify %} -
{{ patch.intro }}
{% for section in patch.sections %} -