Sha256: a69059ad356b21b2587633014606aeca089aab985279953b739b70aea21cf867

Contents?: true

Size: 762 Bytes

Versions: 5

Compression:

Stored size: 762 Bytes

Contents

- if meta.title || meta.caption
  meta property="og:title"         content=(meta.title || meta.caption)

- if meta.description
  meta property="og:description"   content=meta.description

- if meta.image
  meta property="og:image"         content=meta.image

- if meta.page_url
  meta property="og:url"           content=meta.page_url.html_safe

/https://developers.facebook.com/docs/sharing/opengraph#types
meta property="og:type" content="website"

- if meta.image_content_type
  meta property="og:image:type"   content=meta.image_content_type

- if meta.image_size
  meta property="og:image:width"  content=meta.image_size.first
  meta property="og:image:height" content=meta.image_size.last

- if meta.app_id
  meta property="fb:app_id" content=meta.app_id

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sharing_tags-0.0.18 app/views/sharing_tags/meta/_open_graphs.html.slim
sharing_tags-0.0.17 app/views/sharing_tags/meta/_open_graphs.html.slim
sharing_tags-0.0.16 app/views/sharing_tags/meta/_open_graphs.html.slim
sharing_tags-0.0.15 app/views/sharing_tags/meta/_open_graphs.html.slim
sharing_tags-0.0.14 app/views/sharing_tags/meta/_open_graphs.html.slim