bobdenotter / seo

Bolt SEO extension
https://bobdenotter.github.io/seo/
MIT License
49 stars 34 forks source link

Tested it, it works on Bolt 4 too #83

Closed orbanisti closed 3 years ago

bobdenotter commented 3 years ago

Are you certain? Since Bolt 3 is based on Silex and Bolt 4 on Symfony, they're really different under the hood.

orbanisti commented 3 years ago

Needed to add 'seo' te exlude it from being rendered on frontend in record.twig, but for the rest, it's doing a great job :)

   {% with { 'record': record, 'exclude': [record|image.fieldname|default(),'seo'] } %}
                    {{ block('sub_fields', 'helpers/_fields.twig') }}
                {% endwith %}

Tested on Bolt version 4.1.12

Maybe an alpha branch would be a more proper way to publicize it.