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

Meta name vs. meta property

Started by Marcos Korody 9 years ago · 3 replies · 2553 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 265 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago