forked from 00dani/lemoncurry
Add support for favicons using django-favicon-plus
This commit is contained in:
parent
2db2f4b6fc
commit
ec45a4c250
4 changed files with 17 additions and 2 deletions
1
Pipfile
1
Pipfile
|
@ -13,6 +13,7 @@ gunicorn = "*"
|
|||
"psycopg2" = "*"
|
||||
pillow = "*"
|
||||
python-memcached = "*"
|
||||
django-favicon-plus = "*"
|
||||
|
||||
|
||||
[dev-packages]
|
||||
|
|
14
Pipfile.lock
generated
14
Pipfile.lock
generated
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "d990c94e85c7a9cc6d3e11591e637a33bbfd579ae002d6b6e6e49a25df640f27"
|
||||
"sha256": "388a82f0237a5312720d62a0aeee6365922fc525d666039e15ba70000430630c"
|
||||
},
|
||||
"host-environment-markers": {
|
||||
"implementation_name": "cpython",
|
||||
|
@ -41,6 +41,12 @@
|
|||
],
|
||||
"version": "==1.0.2"
|
||||
},
|
||||
"django-compat": {
|
||||
"hashes": [
|
||||
"sha256:b20fb26d15bbedbf26fb274eb400d6fad2a23655eb5741ae258d39557b5fc5a3"
|
||||
],
|
||||
"version": "==1.0.14"
|
||||
},
|
||||
"django-compressor": {
|
||||
"hashes": [
|
||||
"sha256:7732676cfb9d58498dfb522b036f75f3f253f72ea1345ac036434fdc418c2e57",
|
||||
|
@ -48,6 +54,12 @@
|
|||
],
|
||||
"version": "==2.2"
|
||||
},
|
||||
"django-favicon-plus": {
|
||||
"hashes": [
|
||||
"sha256:824da4ecd3501a157d9538ed1b0672227b2a8a5a3d940bd075ba5b5c636fb400"
|
||||
],
|
||||
"version": "==0.0.7"
|
||||
},
|
||||
"gunicorn": {
|
||||
"hashes": [
|
||||
"sha256:75af03c99389535f218cc596c7de74df4763803f7b63eb09d77e92b3956b36c6",
|
||||
|
|
|
@ -64,6 +64,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.staticfiles',
|
||||
|
||||
'compressor',
|
||||
'favicon',
|
||||
|
||||
'lemoncurry',
|
||||
'home',
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue