diff --git a/swh/web/templates/includes/favicon.html b/swh/web/templates/includes/favicon.html new file mode 100644 --- /dev/null +++ b/swh/web/templates/includes/favicon.html @@ -0,0 +1,14 @@ +{% comment %} +Copyright (C) 2021-2022 The Software Heritage developers +See the AUTHORS file at the top-level directory of this distribution +License: GNU Affero General Public License version 3, or any later version +See top-level LICENSE file for more information +{% endcomment %} + +{% load static %} + + + + + + diff --git a/swh/web/templates/layout.html b/swh/web/templates/layout.html --- a/swh/web/templates/layout.html +++ b/swh/web/templates/layout.html @@ -1,5 +1,5 @@ {% comment %} -Copyright (C) 2015-2021 The Software Heritage developers +Copyright (C) 2015-2022 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information @@ -27,7 +27,7 @@ /* @licstart The following is the entire license notice for the JavaScript code in this page. -Copyright (C) 2015-2021 The Software Heritage developers +Copyright (C) 2015-2022 The Software Heritage developers This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as @@ -59,13 +59,9 @@ {{ request.user.is_authenticated|json_script:"swh_user_logged_in" }} - {% block header %}{% endblock %} + {% include "includes/favicon.html" %} - - - - - + {% block header %}{% endblock %} {% if not swh_web_dev and not swh_web_staging %} diff --git a/swh/web/templates/misc/coverage.html b/swh/web/templates/misc/coverage.html --- a/swh/web/templates/misc/coverage.html +++ b/swh/web/templates/misc/coverage.html @@ -16,6 +16,7 @@ + {% include "includes/favicon.html" %}