Cleaning up the Class List Whitespace | Creating Dynamic CSS Class Names with Statamic
At first, we may attempt to do something like this: 1 {{ { yield : article_class } | collapse_whitespace }} Using modifiers on the yield tag will not work. Because of how yield and section internally work, yield tag results cannot be used like a...