docs/includes/release-notes-category-labe...

21 строка
661 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" %}
{% when "backups" %}
{% assign text = "Backups" %}
{% else %}
{% assign text = "INVALID SECTION" %}
{% endcase %}
<span class="px-3 py-2 text-small text-bold text-uppercase text-mono color-text-inverse release-notes-section-label">{{ text }}</span>