SinglePaged icon indicating copy to clipboard operation
SinglePaged copied to clipboard

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

Open mofosyne opened this issue 7 years ago • 0 comments

In my site in this commit https://github.com/DesigningOpenDemocracy/DesigningOpenDemocracy.github.io/commit/4b07b74740e3577515a4eb130352170f4791fccb

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 avatar Dec 16 '17 14:12 mofosyne