Skip to content

Commit 1704a5c

Browse files
committed
Add favicon to admin page
1 parent 6f90220 commit 1704a5c

File tree

3 files changed

+101
-0
lines changed

3 files changed

+101
-0
lines changed

api/templates/admin/base.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
<head>
55
<title>{% block title %}{% endblock %}</title>
66
<link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}" />
7+
{% if GO_ENVIRONMENT != 'production' %}
8+
<link rel="icon" type="image/svg+xml" href="{% static 'images/logo/go-admin-staging.svg' %}">
9+
{% else %}
10+
<link rel="icon" type="image/svg+xml" href="{% static 'images/logo/go-admin-prod.svg' %}">
11+
{% endif %}
712
{% block dark-mode-vars %}
813
<link rel="stylesheet" href="{% static "admin/css/dark_mode.css" %}">
914
<script src="{% static "admin/js/theme.js" %}" defer></script>
Lines changed: 48 additions & 0 deletions
Loading
Lines changed: 48 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)