[tor-commits] [manual/develop] favicon icon appearance

gus at torproject.org gus at torproject.org
Fri Jul 9 17:07:34 UTC 2021


commit 96f705c0fe235c147c87858a0e4eeea8aecd8eaf
Author: Kim Le <kle2 at student.unimelb.edu.au>
Date:   Fri Oct 9 11:57:15 2020 +1100

    favicon icon appearance
---
 assets/static/images/favicon.ico | Bin 0 -> 4286 bytes
 assets/static/images/favicon.png | Bin 0 -> 1184 bytes
 templates/layout.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/layout.html b/templates/layout.html
index 2f8fae6..6ee4038 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -6,6 +6,10 @@
 <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>{% block title %}{{ this.title }}{% endblock %} | {{ _("Tor Project | Tor Browser Manual") }}</title>
 <body class="no-gutters" data-spy="scroll" data-target="#sidenav-topics" id="topics" data-children=".item">





More information about the tor-commits mailing list