-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsocial_tags_og.html
More file actions
37 lines (26 loc) · 1.54 KB
/
social_tags_og.html
File metadata and controls
37 lines (26 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!-- If page is xhtml NOT html5 the html tag needs some attributes -->
<!-- Note: None of our pages should be xhtml. We're in the future. -->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:og="http://ogp.me/ns#"
xmlns:fb="https://www.facebook.com/2008/fbml">
<!-- head needs a prefix attribute -->
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# article: http://ogp.me/ns/article#">
<!-- add these meta tags for facebook -->
<meta property="og:title" content="{{ FACEBOOK.TITLE }}"/>
<meta property="og:type" content="article"/>
<meta property="og:url" content="{{ FACEBOOK.URL }}"/>
<meta property="og:image" content="{{ FACEBOOK.IMAGE_URL }}"/>
<meta property="og:site_name" content="Poderopedia.org"/>
<meta property="fb:app_id" content="{{ FACEBOOK.APP_ID }}" />
<meta property="og:description" content="{{ FACEBOOK.DESCRIPTION }}"/>
<meta property="og:article:published_time" content="{{ISO 8601 pubdate}}">
<!-- add these meta tags for twitter -->
<meta property="twitter:site" content="{{ TWITTER.NICK }}">
<meta property="twitter:card" content="summary">
<meta property="twitter:url" content="{{ TWITTER.URL }}">
<meta property="twitter:title" content="{{ TWITTER.TITLE }}">
<meta property="twitter:description" content="{{ TWITTER.DESCRIPTION }}">
<meta property="twitter:image" content="{{ TWITTER.IMAGE_URL }}">
<!-- more about og tags at http://ogp.me/ -->
<!-- test og tags at http://developers.facebook.com/tools/debug -->
<!-- more about twitter card tags at https://dev.twitter.com/docs/cards -->