Follow these steps to contribute a new blog post to our website. We appreciate your contribution and look forward to featuring your insights on blog.reclaimprotocol.org!
- Navigate to the
./content/posts/
directory in the project repository. - Create a new file with the
.mdx
extension. - Name the file based on your desired URL slug. For example,
my-awesome-post.mdx
will result in a URL likeblog.reclaimprotocol.org/my-awesome-post
.
At the top of your new .mdx
file, include the following YAML front matter:
---
title: "<INSERT A TITLE HERE>"
description: "<INSERT A BRIEF DESCRIPTION HERE>"
date: <INSERT A DATE HERE (YYYY-MM-DD)>
tags: ["INSERT", "TAGS", "AS", "AN", "ARRAY", "HERE"]
img: "<LINK TO COVER IMAGE>"
author: <AUTHOR NAME>
published: <true or false>
---
title
:description
: A brief summary of your post (good for SEO).date
: The publication date in YYYY-MM-DD format.tags
: An array of relevant keywords for categorizing your post.img
: A link to the cover image for your post.author
: Your name or pseudonym.published
: Set totrue
when ready to publish,false
to keep as a draft.
Before publishing, it's a good idea to preview your post locally if possible. This allows you to catch any formatting issues or typos.
For that, follow the below steps,
- Run
pnpm install
- You need to havepnpm
installed locally and if not, https://pnpm.io/installation - Run
pnpm run dev
- Navigate to
localhost:3000
and preview your changes
When you're satisfied with your post:
- If
published
is set totrue
in the front matter, your post will go live after the next build. - Commit your new
.mdx
file to the repository. - Push your changes to the main branch or create a pull request, depending on your project's workflow.
Happy blogging! Your contributions help grow and enrich our community.
Note: Vercel will automatically detect the new content and will trigger a new build of the website, post which your changes will be live on blog.reclaimprotocol.org.