diff --git a/data/sections.yml b/data/sections.yml index a9658c33..165e2457 100644 --- a/data/sections.yml +++ b/data/sections.yml @@ -1,6 +1,7 @@ - title: Core Concepts description: Understand the fundamentals of Ocean Protocol. link: /concepts/introduction/ + color: $brand-purple - title: Setup Guides description: Setting up the Ocean Protocol components. diff --git a/gatsby-config.js b/gatsby-config.js index 289208cc..79f78855 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -1,14 +1,15 @@ const config = { title: 'Ocean Protocol Documentation', - description: 'Learn everything about how to develop with Ocean Prototocol', + description: + 'Learn everything you need to know to develop with Ocean Protocol. This should be a bit longer cause it is also the meta description so why not write some more.', siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com', analyticsId: 'UA-60614729-11' } module.exports = { siteMetadata: { - title: config.title, - description: config.description, + siteTitle: config.title, + siteDescription: config.description, siteUrl: config.siteUrl }, plugins: [ diff --git a/src/components/Header.jsx b/src/components/Header.jsx index ebe12d11..74705154 100755 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -3,29 +3,30 @@ import { Link, StaticQuery, graphql } from 'gatsby' import { ReactComponent as Logo } from '@oceanprotocol/art/logo/logo-white.svg' import styles from './Header.module.scss' -const Header = () => ( - ( + { - const { title } = data.site.siteMetadata + const { siteTitle } = data.site.siteMetadata const sections = data.allSectionsYaml.edges return ( @@ -33,7 +34,7 @@ const Header = () => (
-

{title}

+

{siteTitle}