File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " bnomei/kirby3-feed" ,
33 "type" : " kirby-plugin" ,
4- "version" : " 1.6.0 " ,
4+ "version" : " 1.6.1 " ,
55 "description" : " Generate a RSS/JSON/Sitemap-Feed from a Pages-Collection" ,
66 "license" : " MIT" ,
77 "authors" : [
Original file line number Diff line number Diff line change 77 'cache ' => true ,
88 'debugforce ' => true ,
99 'sitemap ' => [
10- 'enabled ' => true ,
10+ 'enable ' => true ,
1111 ],
1212 'feed ' => [
13- 'enabled ' => true ,
13+ 'enable ' => true ,
1414 ],
1515 'expires ' => (60 *24 *7 ), // minutes
1616 ],
2222 ],
2323 'pagesMethods ' => [ // PAGES not PAGE
2424 'feed ' => function ($ options = [], $ force = null ) {
25- if (option ('bnomei.feed.feed.enabled ' ) !== true ) {
25+ if (option ('bnomei.feed.feed.enable ' ) !== true ) {
2626 return ;
2727 }
2828 $ response = \Bnomei \Feed::feed ($ this , $ options , $ force );
2929 kirby ()->response ()->type ($ response ->type ());
3030 return $ response ;
3131 },
3232 'sitemap ' => function ($ options = [], $ force = null ) {
33- if (option ('bnomei.feed.sitemap.enabled ' ) !== true ) {
33+ if (option ('bnomei.feed.sitemap.enable ' ) !== true ) {
3434 return ;
3535 }
3636 if (!A::get ($ options , 'snippet ' )) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments