Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

generator-pelican

sennav30Apache-2.00.0.2

Generate a Pelican Blog

pelican, blog, python, yeoman-generator

readme

generator-pelican

Pelican generator is a different way to set up a Pelican blog.

Installation

First you'll need pelican:

pip install pelican markdown

You'll also need Yeoman and generator-pelican both installed with npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-pelican

Then generate your new project:

mkdir awesome-blog
cd awesome-blog
yo pelican

View your blog

Just run npm start and let the magic begin! Write or alter anything on your content folder and the magic will happen again :)

Bootstrap a new post

Just run yo pelican:post and look for a file with the same name as the chosen slug.

Future work

  • Tests
  • Input check
  • Initialize git repository
  • Many others

Feel free to contribute!