aerni / statamic-advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind
https://statamic.com/addons/aerni/advanced-seo
11 stars 6 forks source link

Make sure to output fallback fathom domain #59

Closed aerni closed 1 year ago

aerni commented 1 year ago

This PR fixes an issue where the fallback cdn.usefathom.com wouldn't be output when the fathom_domain wasn't defined. The fallback wasn't output because Antlers will interpret seo:fathom_domain as a tag if it doesn't exist as a variable. Luckily there is a simple fix. We can use disambiguation to explicitly tell the parser that we are looking for a variable.