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

Access generated page title in twig #31

Closed tom-c closed 4 years ago

tom-c commented 4 years ago

Sorry if I'm being daft but have looked through the source code and readme for a while with no luck.

I'd like to be able to use the built meta title for a given page to log into some analytics, is there a way to output the title that seomate generates via twig in an entry template?

Thanks for your time

aelvan commented 4 years ago

v1.1.2 added a craft.seomate.getMeta() template variable which lets you get this.

tom-c commented 4 years ago

Amazing. Thank you so much 👍💯