Ghost/core/frontend/services/sitemap/post-generator.js

15 lines
280 B
JavaScript

const _ = require('lodash');
const BaseMapGenerator = require('./base-generator');
class PostMapGenerator extends BaseMapGenerator {
constructor(opts) {
super();
this.name = 'posts';
_.extend(this, opts);
}
}
module.exports = PostMapGenerator;