Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: includes/meta/social.tmpl

Issue 29480675: Issue 5329 - Added standard social media meta data to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Added facebook and printrist ids Created July 7, 2017, 8:10 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {# open graph #}
2
3 {% if host and page %}
4 <meta property="og:url" content="{{ host }}/{{ page }}">
5 {% endif %}
6 {% if og_type %}
7 <meta property="og:type" content="{{ og_type }}">
8 {% endif %}
9 {% if og_site_name %}
10 <meta property="og:site_name" content="{{ og_site_name }}">
11 {% endif %}
12 {% if og_title %}
13 <meta property="og:title" content="{{ og_title }}">
14 {% endif %}
15 {% if og_description %}
16 <meta property="og:description" content="{{ og_description }}">
17 {% endif %}
18 {% if og_image %}
19 <meta property="og:image" content="{{ og_image }}">
20 {% else if og_site_image %}
21 <meta property="og:image" content="{{ og_site_image }}">
22 {% endif %}
23 <meta property="og:locale" content="{{ locale }}">
24 {% for alternate_locale in locales %}
25 {% if alternate_locale != locale %}
26 <meta property="og:locale:alternate" content="{{ alternate_locale }}">
27 {% endif %}
28 {% endfor %}
29
30 {# facebook #}
31
32 {% if facebook_id %}
33 <meta property="fb:app_id" content="{{ facebook_id }}">
34 {% endif %}
35
36 {# twitter #}
37
38 {% if twitter_site %}
39 <meta name="twitter:site" content="@{{ twitter_site }}">
40 {% endif %}
41 {% if twitter_card %}
42 <meta name="twitter:card" content="{{ twitter_card }}">
43 {% else if og_image or og_site_image %}
44 <meta name="twitter:card" content="summary_large_image">
45 {% else %}
46 <meta name="twitter:card" content="summary">
47 {% endif %}
48 {% if twitter_image_alt %}
49 <meta name="twitter:image:alt" content="{{ twitter_image_alt }}">
50 {% endif %}
51
52 {# pintrist #}
ire 2017/07/10 07:50:57 It's "pinterest" ;)
53
54 {% if pintrist_id %}
55 <meta name="p:domain_verify" content="{{ pintrist_id }}">
56 {% endif %}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld