Comments (1)
Looks like this was asked a long time ago, but answering in case it's of use to you or anyone having a similar issue.
If you look at the index.html file, you see in the front matter it's assigned to use the layout defined in default.html
In the default.html file you can simply add a head tag with the favicon link inside:
Replace the href value with the location of your icon and you will be set.
<link rel="icon" href="/assets/images/FavIcon/OM_Logo.ico">
The icon should show on the tab across any locations on your site (tested as working on mine) and shouldn't depend on whether you're using a light or dark theme.
from contrast.
Related Issues (20)
- flavicon.ico HOT 3
- My github.io cannot be searched by google
- Load to a certain .md file instead of archive.html or index.html
- KaTeX broken on github.io due to Kramdown upgrade
- Base url HOT 2
- Discuss comments HOT 2
- Localization support
- a
- How to do I get rid of the side bars?
- How can I remove the preview feature the posts. I want to only keep the blog post title on the home page not the entire blog post itself. Thanks!
- How do I remove the date in the post layout?
- How do I show categories for the posts as a menu in the layout?
- How to disable dark mode? HOT 1
- img
- Why can't I change the upper-case "A" on the About page to lower-case "a"?
- Insert a image
- How can I get icons directly from icons.svg or icons.json?
- Liquid Exception: Liquid syntax error (line 27)
- Sass Compilation Error in GitLab CI Pipeline HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contrast.