File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ module.exports = function(cfg, site) {
14
14
updated : true ,
15
15
comments : true ,
16
16
path : true ,
17
+ raw : false ,
17
18
excerpt : false ,
18
19
content : false ,
19
20
categories : true ,
@@ -47,6 +48,7 @@ module.exports = function(cfg, site) {
47
48
excerpt : posts_props ( 'excerpt' , post . excerpt ) ,
48
49
keywords : posts_props ( 'keywords' , cfg . keywords ) ,
49
50
content : posts_props ( 'content' , post . content ) ,
51
+ raw : posts_props ( 'raw' , post . raw ) ,
50
52
categories : posts_props ( 'categories' , function ( ) {
51
53
return post . categories . map ( function ( cat ) {
52
54
return {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " hexo-generator-restful" ,
3
- "version" : " 0.0.1 " ,
4
- "description" : " Generate restful json data. " ,
3
+ "version" : " 0.0.3 " ,
4
+ "description" : " Generate restful json data for Hexo plugins. " ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " echo \" Error: no test specified\" && exit 1"
You can’t perform that action at this time.
0 commit comments