[tor-commits] [donate-static/master] Make sure we use a full URL in og and twitter image
kez at torproject.org
kez at torproject.org
Wed Nov 3 16:13:41 UTC 2021
commit 7cb2d7f9c63e9ae9dff241bc230408060c587b68
Author: HackerNCoder <hackerncoder at encryptionin.space>
Date: Wed Oct 27 20:46:35 2021 +0000
Make sure we use a full URL in og and twitter image
Fix #50
---
templates/meta.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/templates/meta.html b/templates/meta.html
index 664f4d6f..73742b67 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -7,11 +7,11 @@
<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/donate/yec-metacard.png'|url(absolute=True) }}"/>
+ <meta name="twitter:image" content="{{ '/static/images/donate/yec-metacard.png'|url(absolute=True,external=True) }}"/>
<meta property="og:url" content="https://donate.torproject.org/" />
<meta property="og:title" content="{{ _('Privacy is a Human Right') }}" />
<meta property="og:description" content="{{ _('Stand up for the right to privacy. Donate to the Tor Project') }}" />
- <meta property="og:image" content="{{ '/static/images/donate/yec-metacard.png'|url(absolute=True) }}" />
+ <meta property="og:image" content="{{ '/static/images/donate/yec-metacard.png'|url(absolute=True,external=True) }}" />
<link rel="stylesheet" href="{{ '/static/css/bootstrap.css'|asseturl }}">
<link rel="stylesheet" href="{{ '/static/fonts/fontawesome/css/all.min.css'|asseturl }}" rel="stylesheet">
<!-- Standard favicon -->
More information about the tor-commits
mailing list