1.1.0 • Published 10 years ago

blog-archiver v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

##blog-archiver:

archive page generator for your blog

npm version

File Format: yyyy-mm-dd-title.md

Inputs:

  • title: Archive Title
  • directory: Directory for files

Options:

  • routing: put your custom route for the href
  • extension: File Extension for files in directory. Defaults to .md
  • capitalize: Capitalize words in Titles or Leaves as is. Defaults to capitalize.

To use with Express / Connect, use as below.

var archiver = require('BlogArchiver');
var html = archiver.generateHTML("blog", __dirname + "/node_modules/blog-archiver/blog");
console.log(html);

Examples:
See it work for my own blog here

Copyright (c) 2016, Brian Lin. (MIT Licensed)

1.1.0

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago