[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 581e7e586b49f308ea9d0ee25b1b8556fff90719
Author: hiro <hiro@xxxxxxxxxxxxxx>
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.') }}" />



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits