vaersaagod / seomate

SEO, mate! It's important. That's why SEOMate provides the tools you need to craft all the meta tags, sitemaps and JSON-LD microdata you need - in one highly configurable, open and friendly package - with a super-light footprint.
MIT License
36 stars 8 forks source link

Don't include site name for specific sections #20

Closed piotrpog closed 2 years ago

piotrpog commented 5 years ago

With my homepage, I would like to have title without sitename appended.

I know i can disable specific settings in specific templates using Twig, like this:

{% set seomate = {
    config: {
        includeSitenameInTitle: false
    },
} %}

Can this be done using only config file? So i can map this setting to specific section handles.

mmikkel commented 5 years ago

No, the includeSitenameInTitle setting is not context aware, so the only way to do it is by using template overrides (as per your example).

I'll go ahead and label this issue as a feature request though.