Skip to content

Commit

Permalink
added npm version badge (thanks http://badge.fury.io)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanx committed Nov 5, 2014
1 parent 3933fdf commit 4547124
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ metalsmith-date-in-filename: incorporate date info in filename onto file metadat
====

[![Build Status](https://travis-ci.org/sanx/metalsmith-date-in-filename.svg?branch=master)](https://travis-ci.org/sanx/metalsmith-date-in-filename)
[![npm version](https://badge.fury.io/js/metalsmith-date-in-filename.svg)](http://badge.fury.io/js/metalsmith-date-in-filename)

Installation
----
Expand All @@ -17,6 +18,12 @@ Usage
.use(dateInFilename({override: true})) // can be "dateInFilename(true)", which is equivalent
.build();

... alternatively, you can pass just a boolean to the plugin, and the `override` setting will be set to it:

...
.use(dateInFilename(true))
...


CLI Usage
----
Expand All @@ -27,7 +34,7 @@ CLI Usage
}
}


License
----

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "metalsmith-date-in-filename",
"version": "0.0.11",
"version": "0.0.12",
"description": "Incorporate date information on filename into metadata.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 4547124

Please sign in to comment.