[tor-commits] [tpo/master] Localize social media cards

hiro at torproject.org hiro at torproject.org
Wed Mar 27 18:06:03 UTC 2019


commit 581e7e586b49f308ea9d0ee25b1b8556fff90719
Author: hiro <hiro at torproject.org>
Date:   Wed Mar 27 19:06:00 2019 +0100

    Localize social media cards
---
 templates/meta.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/meta.html b/templates/meta.html
index 1ca3373..025c3fd 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -6,7 +6,7 @@
 <meta name="twitter:card" content="summary" />
 <meta name="twitter:site" content="@torproject" />
 <meta name="twitter:creator" content="@torproject" />
-<meta name="twitter:image:src" content="/static/images/tor-project-logo-onions.png"/>
+<meta name="twitter:image" content="{{ '/static/images/tor-project-logo-onions.png'|asseturl }}"/>
 <meta property="og:url" content="https://torproject.org" />
 <meta property="og:title" content="{{ _('The Tor Project | Privacy & Freedom Online') }}" />
 <meta property="og:description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }}" />



More information about the tor-commits mailing list