@smashing/head

Manage page head

Usage no npm install needed!

<script type="module">
  import smashingHead from 'https://cdn.skypack.dev/@smashing/head';
</script>

README

Head

Manage page head content. Add meta, link, title, style tags to page head.

yarn add @smashing/head

Usage

import {Head} from "@smashing/head"

export const AboutPage = () => (
  <div>
    <Head>
      <title>About us</title>
      <meta property="og:title" content="About us" />
      <link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico" />
    </Head>
  </div>
)