{meta.title} - + {meta.description ? : null} diff --git a/app/pages/example-post.mdx b/app/pages/example-post.mdx index ea48b47..db1a130 100644 --- a/app/pages/example-post.mdx +++ b/app/pages/example-post.mdx @@ -1,8 +1,12 @@ export const meta = { title: 'Example Post', diff --git a/app/pages/index.js b/app/pages/index.js index 3354f3b..5ffcc81 100644 --- a/app/pages/index.js +++ b/app/pages/index.js @@ -1,9 +1,8 @@ // Example of a page written as a React component in a .js file. -// Every page should export a `meta` object with at least a title and description. +// Every page should export a `meta` object with at least a title. export const meta = { - title: 'Your Tropical site', - description: '' + title: 'Your Tropical site' } import React from 'react'