forked from 00dani/lemoncurry
Switch from django-favicon-plus to django-super-favicon, it performs better and doesn't require a DB table
This commit is contained in:
parent
025910029e
commit
1654ceecf3
6 changed files with 74 additions and 28 deletions
|
@ -263,3 +263,6 @@ PUSH_HUB = 'https://00dani.superfeedr.com/'
|
|||
# django-rq
|
||||
# https://github.com/ui/django-rq
|
||||
RQ_QUEUES = {'default': {'USE_REDIS_CACHE': 'default'}}
|
||||
|
||||
# django-super-favicon
|
||||
FAVICON_STORAGE = 'django.core.files.storage.DefaultStorage'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% load analytical compress favtags lemoncurry_tags meta static theme_colour %}<!doctype html>
|
||||
{% load analytical compress favicon lemoncurry_tags meta static theme_colour %}<!doctype html>
|
||||
<html dir="ltr" lang="en" class="{% block html_class %}{% endblock %}">
|
||||
<head{% meta_namespaces %}>{% site_name as site_name %}{% request_uri request as uri %}{% request_origin request as origin %}
|
||||
<meta charset="utf-8" />
|
||||
|
@ -28,7 +28,7 @@
|
|||
<meta property="og:url" content="{{ uri }}" />
|
||||
<meta property="og:title" content="{% firstof title site_name %}" />
|
||||
{% include 'meta/meta.html' %}
|
||||
{% placeFavicon %}
|
||||
{% get_favicons 'favicon/' %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
|
||||
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue