Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Metadata #4

Closed
elitan opened this issue Jul 14, 2020 · 1 comment
Closed

Metadata #4

elitan opened this issue Jul 14, 2020 · 1 comment

Comments

@elitan
Copy link
Contributor

elitan commented Jul 14, 2020

Use something like this on each .mdx file

export const meta = {
 title: `Introduction to 123`,
 description: `An introduction to the  platform and how to get started deploying any kind of application.`,
 editUrl: "pages/docs/v2/introduction.mdx",
 lastEdited: "2020-06-17T13:39:34.000Z",
};

title and description should be used to set SEO tags.

editUrl and lastEdited can be used in the bottom of each page to display:

  • Where to edit this doc file on Github.
  • When the file was last edited.
@elitan
Copy link
Contributor Author

elitan commented Jul 29, 2020

Works now, use:

---
title: "Nhost documentation"
publishedAt: "2020-07-29"
summary: "Explore our documentation and learn about Nhsot"
---

@elitan elitan closed this as completed Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant