Only date('format') filter in Summary String Transformations work. All others are broken. #7221
Closed
Description
Describe the bug
The only filter that seems to work in the summary is the date one. All others are inert.
To Reproduce
summary = "{{ title | upper }} / {{ title | lower }} / {{ title | truncate(3) }} / {{ nonexistant | default('Hello') }} / {{mytruth | ternary('Yep','Nope') }} / {{today | date('yyyy') }}" yields
Title / Title / Title / / / 2024
Booleans don't display at all whether true or false (might be expected tho)
Expected behavior
TITLE / title / Tit / Hello / Yep / 2024
Applicable Versions:
- Decap CMS version: 4.3.0
- Git provider: Github
- OS: MacOS latest
- Browser version: Chrome latest
Additional context
Booleans don't display at all whether true or false (might be expected tho)