WithCandour / statamic-aardvark-seo

Candour's SEO addon for Statamic
https://statamic.com/marketplace/addons/aardvark-seo
11 stars 18 forks source link

Antlers tags in Content Defaults #129

Closed websmyth closed 2 years ago

websmyth commented 2 years ago

From issue #98, it seems that it should be possible to add antlers tags in Content Defaults > [collection name] Defaults > Meta Description, but struggling to get that to work here.

I have a Bard field called short_description – I’ve tried adding that to the Meta Description as both:

Neither seem to be pulled through to the og:description property.

I’ve tried this on existing and new entries with no luck so far. Perhaps I’m missing something?

Environment Statamic 3.3.9 Pro Laravel 8.83.9 PHP 7.4.27 withcandour/aardvark-seo 2.0.24

websmyth commented 2 years ago

Following up on this – is this something that should be possible and I need to experiment with it further or a bug/feature request?

AndrewHaine commented 2 years ago

Hi @websmyth ,

Apologies for the delay, i'll schedule in some time to look into this this week. The antlers setting is set to true in the blueprint so this should work in theory.

Please could you let me know which antlers parser you are using with Statamic 3.3 are you on the old regex one or the new runtime parser?

Thanks, Andrew

AndrewHaine commented 2 years ago

Hi @websmyth ,

I believe this was an issue with Aardvark following the Statamic 3.3 upgrade, we've identified the fix and it will be released in Aardvark v2.0.25.

websmyth commented 2 years ago

Perfect, thanks – I’ll take a another look when 2.0.25 is out. 🙌

websmyth commented 2 years ago

This worked – cheers! 👏