Add favicon to the base page template

This was missing before. Giving it its own named block will let users customize it if they wish.
This commit is contained in:
John Paton
2020-02-14 16:35:48 +01:00
committed by GitHub
parent bc7bb5076f
commit a3e3f24d2d

View File

@@ -34,6 +34,9 @@
{% block stylesheet %}
<link rel="stylesheet" href="{{ static_url("css/style.min.css") }}" type="text/css"/>
{% endblock %}
{% block favicon %}
<link rel="shortcut icon" href="{{ static_url("favicon.ico") }}">
{% endblock %}
{% block scripts %}
<script src="{{static_url("components/requirejs/require.js") }}" type="text/javascript" charset="utf-8"></script>
<script src="{{static_url("components/jquery/dist/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script>