GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nodejs.dev/WRITING_A_BLOG_POST.md at main · Darkcodegaju/nodejs.dev

Expand file tree

/

WRITING_A_BLOG_POST.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (24 loc) · 2.03 KB
/

WRITING_A_BLOG_POST.md

Copy path

File metadata and controls

32 lines (24 loc) · 2.03 KB
Raw
Copy raw file
Download raw file
Edit and raw actions

Writing a Blog Post

In order to publish a new blog post, make sure that you added yourself into src/data/blog/authors.yaml. That is the GraphQL schema for all the Blog Posts of the Node.js Website Blog.

The current schema supports the following fields:

Field Description Required
id Your unique id. In preference it should be your GitHub Username as we resolve the images from there. Yes
name Your display name. It could be your full name. Yes
website A link to open when someone wants to get to know more about you No
bio A short bio about you when people are looking all the posts that you've published before. No

All the blog posts should be written inside content/blog as only the Markdown files created there will be considered as blog posts. The blog posts support the full MDX (Markdown Extended) syntax.

Every Blog Post should follow the following template:

---
title: Your Blog Post Title
blogAuthors: ["your-blog-authors-id", ...]
category: "your blog category"
---

Your Markdown Content
  • It is important to mention that category is an optional field. Currently only one category is supported. Multiple authors are supported.
  • The name of you blog post should follow the following format YYYY-MM-DD-your-blog-post-title.md.
  • When you publish a new blog post, it will be automatically added to the blog posts list. So be mindful when creating a Pull Request.
  • Blog Posts categories are optional. But when provided the category should exist inside src/data/blog/categories.yaml otherwise it will fallback to the "name" of the category.
  • If the author id doesn't exist within src/data/blog/authors.yaml it will fallback to Unknown.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.