[tor-commits] [community/master] favicon icon appearance

gus at torproject.org gus at torproject.org
Wed Oct 14 02:38:53 UTC 2020


commit 5b239e8a7926db324124b0e5e2428987671eb95b
Author: Kim Le <kle2 at student.unimelb.edu.au>
Date:   Fri Oct 9 12:25:05 2020 +1100

    favicon icon appearance
---
 assets/static/images/favicon.ico | Bin 0 -> 4286 bytes
 assets/static/images/favicon.png | Bin 0 -> 1184 bytes
 templates/meta.html              |   4 ++++
 3 files changed, 4 insertions(+)

diff --git a/assets/static/images/favicon.ico b/assets/static/images/favicon.ico
new file mode 100644
index 0000000..2f24bf9
Binary files /dev/null and b/assets/static/images/favicon.ico differ
diff --git a/assets/static/images/favicon.png b/assets/static/images/favicon.png
new file mode 100644
index 0000000..514eb90
Binary files /dev/null and b/assets/static/images/favicon.png differ
diff --git a/templates/meta.html b/templates/meta.html
index 9a4c64a..e839d36 100644
--- a/templates/meta.html
+++ b/templates/meta.html
@@ -3,4 +3,8 @@
 <meta name="description" content="{{ _('Defend yourself against tracking and surveillance. Circumvent censorship.') }} | {{ this.title }}">
 <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 -->
+<link rel="icon" type="image/x-icon" href="{{ '/static/images/favicon/favicon.ico'|asseturl }}">
+<!-- Recommended favicon format -->
+<link rel="icon" type="image/png" href="{{ '/static/images/favicon/favicon.png'|asseturl }}">
 <title>{{ _("Tor Project") }} | {% block title %}{{ this.title }}{% endblock %}</title>





More information about the tor-commits mailing list