Add support for favicons using django-favicon-plus

This commit is contained in:
Danielle McLean 2017-10-24 14:46:32 +11:00
parent 2db2f4b6fc
commit ec45a4c250
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
4 changed files with 17 additions and 2 deletions

View file

@ -64,6 +64,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'compressor',
'favicon',
'lemoncurry',
'home',

View file

@ -1,10 +1,11 @@
{% load compress lemoncurry_tags static %}<!doctype html>
{% load compress favtags lemoncurry_tags static %}<!doctype html>
<html lang="en" class="{% block html_class %}{% endblock %}">
<head>
<title class="p-name">{% site_name %}</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
{% placeFavicon %}
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous" />
{% compress css %}