dynamic-content
Advanced tools
Comparing version 0.2.1 to 0.3.0
// Generated by CoffeeScript 1.9.1 | ||
(function() { | ||
var W, _, filter, fs, helpers, os, path, reformat, write_json, yaml; | ||
var _, filter, fs, helpers, path, reformat, write_json; | ||
@@ -9,10 +9,4 @@ path = require('path'); | ||
os = require('os'); | ||
_ = require('lodash'); | ||
yaml = require('js-yaml'); | ||
W = require('when'); | ||
helpers = require('./helpers'); | ||
@@ -81,3 +75,3 @@ | ||
front_matter._categories = folders; | ||
front_matter._url = roots.config.out(f.file, ctx.adapter.output).replace(roots.config.output_path(), ''); | ||
front_matter._url = roots.config.out(f.file, ctx.adapter.output).replace(roots.config.output_path(), '').replace(new RegExp('\\' + path.sep, 'g'), '/'); | ||
results = []; | ||
@@ -84,0 +78,0 @@ for (i = j = 0, len = folders.length; j < len; i = ++j) { |
{ | ||
"name": "dynamic-content", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"author": "Carrot Creative <dev@carrotcreative.com>", | ||
@@ -5,0 +5,0 @@ "description": "dynamic content functionality for roots", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40373
285