Add branding to admin

This commit is contained in:
Sonny 2020-07-26 12:32:22 +02:00
parent c52c30fb08
commit 2b10612304

View file

@ -1,6 +1,10 @@
{% extends "admin/base.html" %} {% extends "admin/base.html" %}
{% load static %} {% load static %}
{% block branding %}
<h1 id="site-name"><a href="{% url 'index' %}">Newsreader</a></h1>
{% endblock %}
{% block extrahead %} {% block extrahead %}
<link type="image/png" href="{% static 'favicon.png' %}" rel="shortcut icon" /> <link type="image/png" href="{% static 'favicon.png' %}" rel="shortcut icon" />
{% endblock %} {% endblock %}