diff --git a/soapbox/static/admin/favicon.svg b/soapbox/static/admin/favicon.svg new file mode 100644 index 0000000..b94ff70 --- /dev/null +++ b/soapbox/static/admin/favicon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/soapbox/templates/admin/base.html b/soapbox/templates/admin/base.html index cba78ab..40e40d9 100644 --- a/soapbox/templates/admin/base.html +++ b/soapbox/templates/admin/base.html @@ -5,6 +5,7 @@ {% block title %}Admin{% endblock %} – {{ site.title }} + diff --git a/soapbox/themes/green/static/favicon.svg b/soapbox/themes/green/static/favicon.svg new file mode 100644 index 0000000..b94ff70 --- /dev/null +++ b/soapbox/themes/green/static/favicon.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/soapbox/themes/green/templates/base.html b/soapbox/themes/green/templates/base.html index 1ecba22..9fab7dd 100644 --- a/soapbox/themes/green/templates/base.html +++ b/soapbox/themes/green/templates/base.html @@ -6,6 +6,7 @@ {% block title %}{{ site.title }}{% endblock %} {% if site.description %}{% endif %} + diff --git a/tests/test_app.py b/tests/test_app.py index f26db0a..d6e3e65 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -60,6 +60,7 @@ def test_full_flow_owner(client, cfg): html = client.get("/groent-er-skjoent/").text assert "verden" in html assert 'href="../theme/style.css"' in html + assert 'href="../theme/favicon.svg"' in html assert 'href="../"' in html # intern lenke omskrevet til relativ assert client.get("/groent-er-skjoent/mitt-bilde.png").status_code == 200 front = client.get("/").text