Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Meta name vs. meta property

Started by Marcos Korody 9 years ago · 3 replies · 2608 views
9 years ago

hello there 🙂
I have an app running on heroku. Everything works fine, but the meta tags are not playing accordingly. I want each page to have its own meta images, titles and descriptions, so I'm specifying the meta tags in the md frontmatter:

TXT
metadata:
    'og:image': "http://www.coffeebeantech.com/user/pages/gdpr/gdpr-logo.png"
    'og:title': CBT & GDPR 
    'og:description': The General Data Protection Regulation

Problem is that facebook debugger is complaining that:

fb cbt debug 2|690x46

tried lots of variations with no success. Ideas are very welcome, thanks! :D

9 years ago

hello there! :) Wondering if anyone have any inputs on this matter?

cheers! :D

9 years ago

Hi korody, it looks like it lacks indeed the following:

TXT
property="og:description" 

You might want to check your file metadata.html.twig or use the one provided by antimatter theme.

Alternatively, you can use a plugin I made for managing metadata such as opengraph, twitter, and json-ld microdata: https://github.com/paulmassen/grav-plugin-seo

Hope it helps

9 years ago

hey Paul! Thank you very much for shedding some light on this issue. Changing the metadata file did remove the warnings, thanks! :D

Suggested topics

Topic Participants Replies Views Activity
General · by jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 122 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 1 week ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago