Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Meta name vs. meta property

Started by Marcos Korody 8 years ago · 3 replies · 2278 views
8 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

8 years ago

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

cheers! :D

8 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

8 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 Jerry Hunt, 4 days ago
2 99 16 hours ago
General · by pamtbaau, 21 hours ago
1 63 21 hours ago
General · by Andy Miller, 1 day ago
0 48 1 day ago
General · by Marcel, 12 months ago
6 357 5 days ago
General · by Duc , 6 days ago
3 45 6 days ago