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

jekyll-post

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jekyll-post

A Simple Command Line Helper for Jekyll

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Post

A simple command line helper for Jekyll

To do

  • Add drafting functionality

$ post draft <title> Should create a draft post that will be stored under drafts. $ post publish <title> to prepend the date to the file and move it to to _posts. $ post unpublish <title> could be an option as well.

Usage

Create a post: post Some Post Title

List all posts post list

Edit a post post edit [some-post-title]

Publish your blog post publish

Installation

If you have npm:

npm install -g jekyll-post

If you don't have npm, you will need to install it via Node. Either download it from the Node website or install it via the command line. The latter will depend on your system, but here's a guess at what might work for you immediately:

Mac (with Homebrew):

brew install node

Ubuntu:

Here's a great installation article from Digital Ocean.

Configuration

jekyll-post requires a .postrc file in your root directory. This file is necessary to tell jekyll-post where your Jekyll blog is located on your computer. Here's an example of ~/.postrc:

{
  "source": "/path/to/jekyll"
}

Enjoy.

Keywords

FAQs

Package last updated on 28 Feb 2016

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