* Use pastel colors * Whit text * Slugify/anchor section headings * Use classes instead of style attributes * Use fancy-pants SCSS * Simplify a tad * TIL text-inherit helper Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com> * Remove redundant `style` attr Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com> Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
19 lines
578 B
HTML
19 lines
578 B
HTML
{% case section[0] %}
|
|
{% when "features" %}
|
|
{% assign text = "Features" %}
|
|
{% when "bugs" %}
|
|
{% assign text = "Bug fixes" %}
|
|
{% when "known_issues" %}
|
|
{% assign text = "Known issues" %}
|
|
{% when "security_fixes" %}
|
|
{% assign text = "Security fixes" %}
|
|
{% when "changes" %}
|
|
{% assign text = "Changes" %}
|
|
{% when "deprecations" %}
|
|
{% assign text = "Deprecations" %}
|
|
{% else %}
|
|
{% assign text = "INVALID SECTION" %}
|
|
{% endcase %}
|
|
|
|
<span class="px-3 py-2 f5 text-uppercase text-mono text-white release-notes-section-label">{{ text }}</span>
|