UNPKG
@loftysoul/soul
Version:
latest (3.0.16-soul)
3.0.16-soul
3.0.15-soul
3.0.14-soul
3.0.13-soul
3.0.12-soul
3.0.11-soul
3.0.8-soul
3.0.7-soul
3.0.6-soul
3.0.5-soul
3.0.4-soul
3.0.4-1-soul
3.0.3-2-soul
3.0.3-1-soul
2.19.8
2.19.7
2.19.6
2.19.5
2.19.4
2.18.3-soul
1.0.1
The professional Content Management System, based ghost
ghost.org
shangbo/soul
@loftysoul/soul
/
core
/
frontend
/
services
/
sitemap
/
post-generator.js
15 lines
(10 loc)
•
278 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const
_ =
require
(
'lodash'
),
BaseMapGenerator
=
require
(
'./base-generator'
);
class
PostMapGenerator
extends
BaseMapGenerator
{
constructor
(
opts
) {
super
();
this
.
name
=
'posts'
; _.
extend
(
this
, opts); } }
module
.
exports
=
PostMapGenerator
;