blog menu page & blog article page

This commit is contained in:
Nina Juresic
2017-10-23 15:54:25 +02:00
parent f21a22b539
commit 3ec0fe7455
3048 changed files with 241133 additions and 432 deletions

24
node_modules/strip-bom/index.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
'use strict';
var isUtf8 = require('is-utf8');
var stripBom = module.exports = function (arg) {
if (typeof arg === 'string') {
return arg.replace(/^\ufeff/g, '');
}
if (Buffer.isBuffer(arg) && isUtf8(arg) &&
arg[0] === 0xef && arg[1] === 0xbb && arg[2] === 0xbf) {
return arg.slice(3);
}
return arg;
};
stripBom.stream = function () {
var firstChunk = require('first-chunk-stream');
return firstChunk({minSize: 3}, function (chunk, enc, cb) {
this.push(stripBom(chunk));
cb();
});
};