Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jekyll-posts-generator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-posts-generator

Generate jekyll posts from the terminal

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

js-standard-style

simple jekyll posts generator

As you can guess from the title, this is a node module to generate jekyll posts easily from within your terminal.

Installation

type in your terminal :

npm install -g jekyll-posts-generator

In some computers you need to be an administrator to install this module, in that case just precede the previous command with sudo.

After installing this package you can access the global command jposts from within any folder you want.

Usage

Navigate to some jekyll website folder that have the following structure :

.
├── _config.yml
├── _drafts
├── _includes
├── _layouts
├── _posts
|   |── posts are listed here ...
├── _data
├── _site
├── .jekyll-metadata
└── index.html

Now you can create a basic article using the create command

jposts create-post 'my article title'

OR

 jposts create-post "my article title"

At this time if you go inside _posts folder, you will see a new file [YYYY-MM-DD]-my-article-title.md generated for you.

Options

You can see the list of options available with any command using jposts [COMMAND_NAME] -h or jposts -h to list the options available with the global command jposts, Here is some examples :

#list options available with create command
jposts create-post -h

# specify the current post categories
jposts create-post <postName> -c category1,category2,...

# Specify the layout of the current post
jposts create-post <postName> -l post

# You can specify multiple options at the same time :
jposts create-post <postName> -l post -c category1,category2

# Create new category 
jposts create-category <categoryName> 
TODO
  • Add other essential options.
  • Add test cases.
  • ...

Keywords

FAQs

Package last updated on 04 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc