Skip to content

Adding meta <link> in the document head #159

Answered by CanRau
tigawanna asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure you saw my message on Discord, just stumbled upon the discussion here

<Head
  title="Hello Rakkas"
  faviconIco={{
    tagName: "link",
    rel: "icon",
    href: "/favicon.ico",
  }}
  {..etc}
/>

this works great for me, you can basically anything in there, by the way you can also call the prop favicon instead of faviconIco or anything you like, and add multiple using differently named props

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tigawanna
Comment options

@CanRau
Comment options

Answer selected by tigawanna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants