feat: add favicon support with SVG response and update templates and tests
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s
- Implemented a `favicon` view to serve a custom SVG favicon - Added `favicon.ico` route to `urls.py` - Updated `base.html` to include favicon link tag - Suppressed specific Django ASGI warnings in DEBUG mode - Added unit tests to verify favicon behavior and response
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Santehray - {% block title %}{{ title }}{% endblock %}</title>
|
||||
<link rel="icon" type="image/svg+xml" href="{% url 'favicon' %}">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
|
||||
|
||||
Reference in New Issue
Block a user