[tor-commits] [tpo/staging] Add banner to templates

emmapeel at torproject.org emmapeel at torproject.org
Tue Oct 15 08:36:57 UTC 2019


commit d118ec92946f27b81543109fbb5962f9b138b355
Author: hiro <hiro at torproject.org>
Date:   Fri Sep 13 22:26:31 2019 +0200

    Add banner to templates
---
 templates/homepage.html | 1 +
 templates/layout.html   | 1 +
 templates/meta.html     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/templates/homepage.html b/templates/homepage.html
index 25ba0ba..fd09888 100644
--- a/templates/homepage.html
+++ b/templates/homepage.html
@@ -25,4 +25,5 @@
   <footer>
     {% include 'footer.html' %}
   </footer>
+  {% include 'bottom_banner.html' %}
 </body>
diff --git a/templates/layout.html b/templates/layout.html
index db1168f..6172b4d 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -19,5 +19,6 @@
   <footer>
     {% include 'footer.html' %}
   </footer>
+  {% include 'bottom_banner.html' %}
 </body>
 </html>
diff --git a/templates/meta.html b/templates/meta.html
index 8601988..04b9e93 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -11,6 +11,7 @@
 <meta property="og:title" content="{{ _('The Tor Project | Privacy & Freedom Online') }}" />
 <meta property="og:description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }}" />
 <meta property="og:image" content="https://www.torproject.org/static/images/tor-project-logo-onions.png" />
+<link rel="stylesheet" href="{{ '/static/css/digital-climate-strike/main.css'|asseturl }}">
 <link rel="stylesheet" href="{{ '/static/css/bootstrap.css'|asseturl }}">
 <link rel="stylesheet" href="{{ '/static/fonts/fontawesome/css/all.min.css'|asseturl }}" rel="stylesheet">
 <title>{{ _("Tor Project") }} | {% block title %}{{ this.title }}{% endblock %}</title>





More information about the tor-commits mailing list