[tor-commits] [donate-static/staging] Update the opengraph description, title, and metacard

kez at torproject.org kez at torproject.org
Wed Oct 20 17:07:31 UTC 2021


commit 628c328b807bb973d6f7cfaa311755ba2bfb55a0
Author: kez <kez at torproject.org>
Date:   Thu Oct 14 10:16:46 2021 -0700

    Update the opengraph description, title, and metacard
---
 assets/static/images/donate/yec-metacard.png | Bin 0 -> 44583 bytes
 templates/meta.html                          |  10 +++++-----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/assets/static/images/donate/yec-metacard.png b/assets/static/images/donate/yec-metacard.png
new file mode 100644
index 00000000..a97389f9
Binary files /dev/null and b/assets/static/images/donate/yec-metacard.png differ
diff --git a/templates/meta.html b/templates/meta.html
index 321462e9..efa94994 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -3,15 +3,15 @@
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width, initial-scale=1">
-  <meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }} | {{ this.title }}">
+  <meta name="description" content="{{ _('Stand up for the right to privacy. Donate to the Tor Project') }} | {{ this.title }}">
   <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="https://donate.torproject.org/static/images/donate/social-media-card.png"/>
+  <meta name="twitter:image" content="{{ '/static/images/donate/yec-metacard.png'|url(absolute=True) }}"/>
   <meta property="og:url" content="https://donate.torproject.org/" />
-  <meta property="og:title" content="{{ _('Use a mask, Use Tor') }}" />
-  <meta property="og:description" content="{{ _('Resist the surveillance pandemic. Donate to the Tor Project.') }}" />
-  <meta property="og:image" content="https://donate.torproject.org/static/images/donate/social-media-card.png" />
+  <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) }}" />
   <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