-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscully.brunoelo.config.ts
53 lines (50 loc) · 1.07 KB
/
scully.brunoelo.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { ScullyConfig, setPluginConfig } from '@scullyio/scully';
import 'prismjs/components/prism-git.js';
import { useSitemapPlugin } from '@recursyve/scully-sitemap';
setPluginConfig('md', { enableSyntaxHighlighting: true });
useSitemapPlugin({
urlPrefix: 'https://brunoelo.com',
sitemapFilename: 'sitemap.xml',
merge: false,
trailingSlash: true,
changeFreq: 'monthly',
priority: [
'1.0',
'0.9',
'0.8',
'0.7',
'0.6',
'0.5',
'0.4',
'0.3',
'0.2',
'0.1',
'0.0',
],
ignoredRoutes: ['/404'],
routes: {
'/blog/:slug': {
changeFreq: 'monthly',
priority: '0.9',
sitemapFilename: 'sitemap-blog-posts.xml',
merge: true,
},
},
});
export const config: ScullyConfig = {
projectRoot: './src',
projectName: 'brunoelo',
outDir: './dist/static',
routes: {
'/blog/:slug': {
type: 'contentFolder',
slug: {
folder: './blog',
},
},
},
defaultPostRenderers: ['seoHrefOptimise'],
puppeteerLaunchOptions: {
args: ['--no-sandbox', '--disable-setuid--sandbox'],
},
};