Skip to content

A script that automates the steps for gatsby route generation: it converts your md file into the appropriate file name, makes a folder, and packages it all into the correct directory to establish routes.

Notifications You must be signed in to change notification settings

MSoup/gatsby_generate_blog_posts_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Gatsby Blog Publisher

Release History

Oct 14 / 2021 Version 0.01 alpha

This is a script that allows me automate the publishing process for my blog posts.

It works by allowing me to write blog posts in the root/WIP directory of a gatsbyJS project. When ready to publish, I can run this script to:

  • rename the file to index.md
  • move the file to the appropriate folder
  • rename the folder to the original document name for GatsbyJS to generate routes

Requirements

  • GatsbyJS project installed
  • GatsbyJS_Project_Root/content/blog as an existing directory
  • GatsbyJS_Project_Root/WIP as the directory to write your work in progress posts

Installation

Two methods:

  1. Add the script as a source:
  2. Download and run the script when needed

About

A script that automates the steps for gatsby route generation: it converts your md file into the appropriate file name, makes a folder, and packages it all into the correct directory to establish routes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages