Levi Wheatcroft
Levi Wheatcroft
here: ```javascript Object.keys(files) .filter(function (p) { return multimatch(p, options.pattern).length > 0 }) ``` is there any reason for the extra level of iteration? multimatch returns an array of matches, so...
[This log function](https://leviwheatcroft.github.io/metalsmith-debug-ui/lib/index.js.html#log) should be removed. I included it as a work around for other plugins writing to the debug-ui log, but in hind sight it was a dumb idea.
space param isn't in the readme, so by default output is uglified. The few times I've used this plugin I've been using editor plugins to pretty print the output. It...
converting `file[file].contents` to string breaks other plugins (like metalsmith-layouts), so I just added 'contents' to the stringify callback.
currently I don't think there's any way to set headers on a per request basis.. this patch allows headers to be set prior to calling `nodeStatic.serve`. In addition, currently `Content-Type`...
comparing the output of `toString()` doesn't provide a deep comparison. [here](https://github.com/totocaster/metalsmith-tags/blob/master/test/index.js#L160) ``` [{ name: 'hello', slug: 'HELLO'}, { name: 'world', slug: 'WORLD'}, { name: 'this is', slug: 'THIS IS'}, {...
whenever I run the nginx role, it seems to avoid the nginx_servers variable I've set. It looks like this: ``` nginx_servers: - enabled: True name: [ 'hmsvr' ] type: 'custom'...
something like this: ``` import { depascalizeKeys } from 'humps' class SomeClass { someMethod(obj) { return depascalizeKeys(obj) } } const instance = new SomeClass() instance.someMethod({KeyName: 'value'}) ``` will throw: `TypeError:...
I've added interpolation of values so plugin calls can specify `metadata` values like `{ cover: 'images/{title}.jpg' }`. IDK if this is poor form, but I switched from minimatch to multimatch...