Closed aerni closed 1 week ago
This PR adds better Blade support with a new @seo directive. It also moves the view composer from the service provider to its own class.
@seo
Before:
Statamic::tag('seo:head')->context($__data) Statamic::tag('seo:body')->context($__data)
After:
@seo('head') @seo('body')
This PR adds better Blade support with a new
@seo
directive. It also moves the view composer from the service provider to its own class.Before:
After: