wagtail-seo
wagtail-seo copied to clipboard
Add simplified mixin without struct information
Since struct informations should only be put in the homepage(s), it seems a bit wasteful to have all those struct fields on every pages. What I propose:
- Create a
SeoSimpleMixin
(name subject to debate), which does not contain any struct fields and use onlyseo_meta_panels
andseo_menu_panels
asseo_panels
- Update the docs to indicate to use this new mixin on non-root pages and to only add
{% include "wagtailseo/struct_data.html" %}
to the template of pages usingSeoMixin
(root pages)
I would be willing to make the PR for this.