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

Unified Diff: includes/meta/social.tmpl

Issue 29611624: Issue 6047 - Updated templates and uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Addressed #14 Created Dec. 14, 2017, 6:39 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: includes/meta/social.tmpl
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/meta/social.tmpl
@@ -0,0 +1,17 @@
+{# facebook / Open Graph http://ogp.me/ #}
+<meta property="og:image" content="{{og_image if og_image else '/img/adblockplus_promo.png'}}">
+<meta property="og:title" content="{{ title | translate("title") }}">
+{% if description %}
+ <meta property="og:description" content="{{ description | translate("description") }}">
+{% endif %}
+<meta property="og:locale" content="{{ locale | to_og_locale }}">
+{% for alternate_locale in available_locales %}
+ {% if alternate_locale != locale %}
+ <meta property="og:locale:alternate" content="{{ alternate_locale | to_og_locale }}">
+ {% endif %}
+{% endfor %}
+<meta property="og:url" content="{{ config.get("general", "siteurl") }}{{ source.resolve_link(page | ignore_browsers, locale)[1] }}">
+
+{# twitter https://dev.twitter.com/cards/markup #}
+<meta name="twitter:site" content="@AdblockPlus">
+<meta name="twitter:creator" content="@AdblockPlus">
« no previous file with comments | « includes/meta/favicon.tmpl ('k') | includes/meta/standard.tmpl » ('j') | includes/reinstall.tmpl » ('J')

Powered by Google App Engine
This is Rietveld