Add favicon
This commit is contained in:
parent
46836a6d30
commit
358013e16a
6 changed files with 10 additions and 1 deletions
|
@ -20,3 +20,4 @@ humanize
|
||||||
drf-yasg
|
drf-yasg
|
||||||
django-plausible
|
django-plausible
|
||||||
sentry-sdk
|
sentry-sdk
|
||||||
|
wagtail-favicon
|
||||||
|
|
|
@ -63,6 +63,7 @@ uritemplate==4.1.1 # via coreapi, drf-yasg
|
||||||
urllib3==1.26.11 # via requests, sentry-sdk
|
urllib3==1.26.11 # via requests, sentry-sdk
|
||||||
wagtail==3.0.1 # via -r requirements/base.in, wagtail-draftail-snippet, wagtail-metadata
|
wagtail==3.0.1 # via -r requirements/base.in, wagtail-draftail-snippet, wagtail-metadata
|
||||||
wagtail-draftail-snippet==0.4.1 # via -r requirements/base.in
|
wagtail-draftail-snippet==0.4.1 # via -r requirements/base.in
|
||||||
|
wagtail-favicon==0.2.0 # via -r requirements/base.in
|
||||||
wagtail-generic-chooser==0.4.1 # via -r requirements/base.in
|
wagtail-generic-chooser==0.4.1 # via -r requirements/base.in
|
||||||
wagtail-metadata==4.0.0 # via -r requirements/base.in
|
wagtail-metadata==4.0.0 # via -r requirements/base.in
|
||||||
webencodings==0.5.1 # via html5lib
|
webencodings==0.5.1 # via html5lib
|
||||||
|
|
|
@ -93,6 +93,7 @@ urllib3==1.26.11 # via -r requirements/base.txt, requests, sentry-sdk
|
||||||
wagtail==3.0.1 # via -r requirements/base.txt, wagtail-draftail-snippet, wagtail-factories, wagtail-metadata
|
wagtail==3.0.1 # via -r requirements/base.txt, wagtail-draftail-snippet, wagtail-factories, wagtail-metadata
|
||||||
wagtail-draftail-snippet==0.4.1 # via -r requirements/base.txt
|
wagtail-draftail-snippet==0.4.1 # via -r requirements/base.txt
|
||||||
wagtail-factories==3.1.0 # via -r requirements/dev.in
|
wagtail-factories==3.1.0 # via -r requirements/dev.in
|
||||||
|
wagtail-favicon==0.2.0 # via -r requirements/base.txt
|
||||||
wagtail-generic-chooser==0.4.1 # via -r requirements/base.txt
|
wagtail-generic-chooser==0.4.1 # via -r requirements/base.txt
|
||||||
wagtail-metadata==4.0.0 # via -r requirements/base.txt
|
wagtail-metadata==4.0.0 # via -r requirements/base.txt
|
||||||
webencodings==0.5.1 # via -r requirements/base.txt, html5lib
|
webencodings==0.5.1 # via -r requirements/base.txt, html5lib
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% load static wagtailcore_tags wagtailuserbar navbar_tags footer_tags cache plausible_wagtail %}
|
{% load static wagtailcore_tags wagtailuserbar navbar_tags footer_tags cache plausible_wagtail favicon_tags %}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-GB">
|
<html lang="en-GB">
|
||||||
|
@ -16,6 +16,9 @@
|
||||||
{% if not SEO_INDEX %}
|
{% if not SEO_INDEX %}
|
||||||
<meta name="robots" content="noindex" />
|
<meta name="robots" content="noindex" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% favicon_meta %}
|
||||||
|
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
|
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
|
||||||
|
|
|
@ -63,6 +63,7 @@ INSTALLED_APPS = [
|
||||||
"wagtail_draftail_snippet",
|
"wagtail_draftail_snippet",
|
||||||
"django_rq",
|
"django_rq",
|
||||||
"drf_yasg",
|
"drf_yasg",
|
||||||
|
"wagtail_favicon",
|
||||||
"plausible",
|
"plausible",
|
||||||
"plausible.contrib.wagtail",
|
"plausible.contrib.wagtail",
|
||||||
"django.contrib.auth",
|
"django.contrib.auth",
|
||||||
|
|
|
@ -6,6 +6,7 @@ from wagtail.admin import urls as wagtailadmin_urls
|
||||||
from wagtail.contrib.sitemaps.views import sitemap
|
from wagtail.contrib.sitemaps.views import sitemap
|
||||||
from wagtail.documents import urls as wagtaildocs_urls
|
from wagtail.documents import urls as wagtaildocs_urls
|
||||||
from wagtail.images.views.serve import ServeView
|
from wagtail.images.views.serve import ServeView
|
||||||
|
from wagtail_favicon.urls import urls as favicon_urls
|
||||||
|
|
||||||
from website.common.views import AllPagesFeed, KeybaseView, RobotsView, page_not_found
|
from website.common.views import AllPagesFeed, KeybaseView, RobotsView, page_not_found
|
||||||
|
|
||||||
|
@ -29,6 +30,7 @@ urlpatterns = [
|
||||||
path("feed/", AllPagesFeed(), name="feed"),
|
path("feed/", AllPagesFeed(), name="feed"),
|
||||||
path("", include("website.legacy.urls")),
|
path("", include("website.legacy.urls")),
|
||||||
path("api/", include("website.api.urls")),
|
path("api/", include("website.api.urls")),
|
||||||
|
path("", include(favicon_urls)),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue