generator-pelican

Generate a Pelican Blog

Usage no npm install needed!

<script type="module">
  import generatorPelican from 'https://cdn.skypack.dev/generator-pelican';
</script>

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!