Django Add Favicon in base.html
1 min readAug 15, 2020
Add favicon from static folder to base.html in django
Preparation:
Step 1: Setup static folder.
Step 2: Setup base.html
Step 3. Add file icon *.ico in static/images
Example icon filename: book.ico
Step 4. Modify base.html (we use cdn bootstrap template)
<link rel="shortcut icon" href="{% static 'images/book.ico' %}">