Closed olavea closed 3 years ago
<link rel="icon"
href="data:image/svg+xml,
<svg xmlns=%22http://w3.org/2000/svg%22 viewBox=%220 0 100 100%22>
<text y=%22.9em%22 font-size=%2290%22>💩</text>
</svg>" />
it doesn't seem to work
It might be because of all the line breaks, I think it needs to be on one line.
Yess! @raae I was TOTALLY because of all the line breaks. It WOOORKS 🎊
Great!
You want this as the favicon? Or were you just testing @olavea?
Also you need to add it to the {MarkdownRemark.parent__(File)__name}.js
as well. This is where I would probably create a component you can add to both {MarkdownRemark.parent__(File)__name}.js
and index.js
so you do not need to change both places every time you want to make a change @olavea.
I promise to "create a component I can add to both {MarkdownRemark.parent(File)name}.js and index.js so I do not need to change both places every time I want to make a change" @raae
This is a good tutorial: https://www.gatsbyjs.com/docs/add-seo-component/
29