Last active
December 15, 2017 03:28
-
-
Save AndyLPK247/12cc8cf5da2ca4331f3bd7b8f9218999 to your computer and use it in GitHub Desktop.
Django HTML template with a basic favicon in the header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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