Ghost/core/server/data/xml/sitemap/tag-generator.js

22 lines
426 B
JavaScript

const _ = require('lodash'),
BaseMapGenerator = require('./base-generator');
class TagsMapGenerator extends BaseMapGenerator {
constructor(opts) {
super();
this.name = 'tags';
_.extend(this, opts);
}
/**
* @TODO:
* We could influence this with priority or meta information
*/
getPriorityForDatum() {
return 0.6;
}
}
module.exports = TagsMapGenerator;