{% 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 %} {{ text }}