deadsimplelog

2.1.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.1.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.1.0
    1
  • 2.0.0
    0

Package Sidebar

Install

npm i deadsimplelog

Weekly Downloads

1

Version

2.1.0

License

Fair

Last publish

Collaborators

  • talles