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

Incomplete SEO metadata in head #169

Closed ikmolbo closed 1 day ago

ikmolbo commented 1 day ago

Hi,

I have just installed Advanced SEO into a new Statamic site. So far, I have set a default (site wide) site name, and also some defaults for my Pages collection.

I have added the {{ seo:meta }} tag to the head section of my Antlers layout.

However, the only output I see in the head section from this tag, when viewing an entry from the Pages collection, is <meta property="og:type" content="website”>.

Here is the output of seo:dump:

SCR-20241004-penn

Have I missed something obvious?

aerni commented 1 day ago

It should be {{ seo:head }} and not {{ seo:meta }}. Was that a typo?

ikmolbo commented 1 day ago

Yes, it was a typo (in this Issue) - in my template, I have {{ seo:head }}.

aerni commented 1 day ago

Add {{ dump }} to your layout. Do you see a bunch of seo variables like this?

CleanShot 2024-10-04 at 12 43 19@2x

ikmolbo commented 1 day ago

Turns out it was the residue of another tried and uninstalled SEO addon that was interfering with yours. Having manually deleted all that I could find, your package now seems to be working.

aerni commented 1 day ago

Glad it worked out!