deadsimplelog

v2.0.0
Configless static blog generator.

logo

deadsimplelog

Configless static blog generator.
Reads .md files from the current directory and generates a blog out of it into html/.

Usage

Install it:

$ npm install -g deadsimplelog

Then run it on the desired folder:

$ deadsimplelog

Timestamps and git

When using a git repository, you can change the file modification date to the author date of the git commit that created the file with the script(s) below.

Linux:

for article in *; do touch -d "$(git log --follow --format=%aD -- "$article" | tail -1)" "$article"; done;

Mac:

for article in *; do touch -t "$(date -r "$(git log --follow --format=%at -- "$article" | tail -1)" "+%Y%m%d%H%M.%S")" "$article"; done;

Sample output

My blog.

Metadata

  • Fair
  • Whatever
  • Talles L
  • released 4/6/2016

Downloads

Maintainers