diff --git a/gatsby-config.js b/gatsby-config.js index ae71b3e2..ef46ca29 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -3,6 +3,7 @@ module.exports = { title: `/uses`, description: `A list of /uses pages detailing developer setups.`, author: `@wesbos`, + siteUrl: "https://uses.tech", }, plugins: [ { @@ -26,6 +27,7 @@ module.exports = { icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site. }, }, + `gatsby-plugin-react-helmet`, `gatsby-plugin-styled-components`, ], }; diff --git a/src/components/header.js b/src/components/header.js index 3b80b1b7..9c5e3b62 100644 --- a/src/components/header.js +++ b/src/components/header.js @@ -5,12 +5,20 @@ import Helmet from 'react-helmet'; import styled from 'styled-components'; import FavIcon from './FavIcon'; -function Header({ siteTitle }) { +function Header({ siteTitle, siteDescription, siteUrl }) { return ( + {siteTitle} + + + + + + +

diff --git a/src/components/layout.js b/src/components/layout.js index 502fb33d..2f4a808a 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -19,6 +19,8 @@ const Layout = ({ children }) => { site { siteMetadata { title + description + siteUrl } } } @@ -28,7 +30,11 @@ const Layout = ({ children }) => { <>
-
+
{children}