Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Graph Support (http://ogp.me/) #59

Open
mofosyne opened this issue Dec 16, 2017 · 0 comments
Open

Open Graph Support (http://ogp.me/) #59

mofosyne opened this issue Dec 16, 2017 · 0 comments

Comments

@mofosyne
Copy link

mofosyne commented Dec 16, 2017

In my site in this commit DesigningOpenDemocracy/DesigningOpenDemocracy.github.io@4b07b74

I added these metadata to my website

  <meta property="og:title" content="{{ site.title }}">
  <meta property="og:type" content="website">
  <meta property="og:url" content="{{ site.url }}">
  <meta property="og:description" content="{{ site.description }}">
  <meta property="og:image" content="{{ site.touch_icon }}">

NOTE: site.touch_icon cannot be relative url

This would allow for link preview in discourse, facebook, twitter and other website to work.

Other authors have more advance support examples in http://davidensinger.com/2013/04/adding-open-graph-tags-to-jekyll/


Standard Website Documentation of OpenGraph in http://ogp.me/

@mofosyne mofosyne changed the title Open Graph Support Open Graph Support (http://ogp.me/) Dec 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant