-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathgreenwood.config.js
37 lines (35 loc) · 1.38 KB
/
greenwood.config.js
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
const path = require('path');
// const pluginGoogleAnalytics = require('./packages/plugin-google-analytics/src/index');
// const pluginPolyfills = require('./packages/plugin-polyfills/src/index');
const META_DESCRIPTION = 'A modern and performant static site generator supporting Web Component based development';
const FAVICON_HREF = '/assets/favicon.ico';
module.exports = {
workspace: path.join(__dirname, 'www'),
title: 'Greenwood',
meta: [
{ name: 'description', content: META_DESCRIPTION },
{ name: 'twitter:site', content: '@PrjEvergreen' },
{ property: 'og:title', content: 'Greenwood' },
{ property: 'og:type', content: 'website' },
{ property: 'og:url', content: 'https://www.greenwoodjs.io' },
{ property: 'og:image', content: 'https://s3.amazonaws.com/hosted.greenwoodjs.io/greenwood-logo.png' },
{ property: 'og:description', content: META_DESCRIPTION },
{ rel: 'shortcut icon', href: FAVICON_HREF },
{ rel: 'icon', href: FAVICON_HREF },
{ name: 'google-site-verification', content: '4rYd8k5aFD0jDnN0CCFgUXNe4eakLP4NnA18mNnK5P0' }
]
// TODO
// plugins: [
// ...pluginGoogleAnalytics({
// analyticsId: 'UA-147204327-1'
// }),
// ...pluginPolyfills()
// ],
// markdown: {
// plugins: [
// require('rehype-slug'),
// require('rehype-autolink-headings'),
// require('remark-github')
// ]
// }
};