Django HTML template with a basic favicon in the header
<!DOCTYPE html> | |
<!-- The link tag within the head section adds the favicon to the page. --> | |
<!-- Presume that the favicon is a static file accessible at the images/favicon path. --> | |
<!-- Remember to "load static", too! --> | |
{% load static %} | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>My Page</title> | |
<link rel="shortcut icon" href="{% static 'images/favicon.ico' %}" /> | |
</head> | |
<body> | |
... | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment