Skip to content

Commit

Permalink
add seo friendly flavoured slug
Browse files Browse the repository at this point in the history
  • Loading branch information
dodo committed Sep 25, 2014
1 parent fbeffd8 commit 9728ef6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions seo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// FIXME nodejs only atm
var slug = require('./slug');

// remove periods and quotation marks to be SEO friendly
slug.defaults.remove = /[.'"]/g;

module.exports = slug;

0 comments on commit 9728ef6

Please sign in to comment.