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

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



commit c9b84ffbe0d7424db7d30098577d5acf8328f02a
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Thu Mar 28 09:17:31 2019 +0100

    Fix 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 6a69444..4e7b067 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -6,7 +6,7 @@
 <meta name="twitter:card" content="summary_large_image" />
 <meta name="twitter:site" content="@torproject" />
 <meta name="twitter:creator" content="@torproject" />
-<meta name="twitter:image" 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