Static site generator node module

Usage no npm install needed!

<script type="module">
  import postcaptain from '';



This is a project to learn how to create a self-contained node module that will generate static sites.


npm -g install postcaptain

What's in the package?

How does it work?

Write separate posts into HTML (or Markdown) files that you put into the projects directory. Tip: Add a date to each HTML file title so that the files are posted in the correct order - for example: 01282015.html.

You can add your own stylesheets and javascript files to the various directories in the public directory. You'll need to create a link to your new files in layout.jade. Alternately, you can edit the existing style.css and repo.js without having to change the jade file.

To change the look of the main body of the page (anything besides the content between the <head> tags), edit postcaptain.html.

To change the look of the posts, edit the repo.jade template.