File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,17 @@ import {htmlConfig} from './plugins/html-config.js';
14
14
// Custom template language
15
15
import { cssConfig } from './plugins/css-config.js' ;
16
16
import { jsConfig } from './plugins/js-config.js' ;
17
+ import { rssConfig } from './plugins/rss-config.js' ;
17
18
18
19
export default {
19
20
EleventyRenderPlugin,
20
21
rss,
21
22
syntaxHighlight,
22
23
webc,
23
24
markdownLib,
24
- drafts,
25
+ drafts,
25
26
htmlConfig,
26
27
cssConfig,
27
- jsConfig
28
+ jsConfig,
29
+ rssConfig
28
30
} ;
Original file line number Diff line number Diff line change 1
1
import { feedPlugin } from '@11ty/eleventy-plugin-rss' ;
2
- import { url } from '../../_data/meta' ;
2
+ import { url } from '../../_data/meta.js ' ;
3
3
4
- export default function ( eleventyConfig ) {
4
+ export const rssConfig = eleventyConfig => {
5
5
eleventyConfig . addPlugin ( feedPlugin , {
6
6
type : 'atom' , // or "rss", "json"
7
7
outputPath : '/feed.xml' ,
@@ -21,4 +21,4 @@ export default function (eleventyConfig) {
21
21
}
22
22
}
23
23
} ) ;
24
- }
24
+ } ;
You can’t perform that action at this time.
0 commit comments