Refactoring our Partial Using Antlers Front-Matter | Creating a Content Reaction System with Statamic 3 and Antlers
Taking a look at the current state of our Antlers partial, we can see a lot of duplicate code starting to emerge. This problem will only get worse over time since we will be referencing those field names in a few places: once to create the buttons...