Merge pull request #196 from GautierArcin/feature/add_newsletter

feat: add newsletter
This commit is contained in:
Timothy
2021-09-10 21:17:07 +08:00
committed by GitHub
8 changed files with 201 additions and 2 deletions

View File

@ -22,6 +22,11 @@ const siteMetadata = {
simpleAnalytics: false, // true or false
googleAnalyticsId: '', // e.g. UA-000000-2 or G-XXXXXXX
},
newsletter: {
// supports mailchimp, buttondown, convertkit
// Please add your .env file and modify it according to your selection
provider: 'buttondown',
},
comment: {
// Select a provider and use the environment variables associated to it
// https://vercel.com/docs/environment-variables
@ -59,7 +64,7 @@ const siteMetadata = {
// theme when dark mode
darkTheme: '',
},
disqus: {
disqusConfig: {
// https://help.disqus.com/en/articles/1717111-what-s-a-shortname
shortname: process.env.NEXT_PUBLIC_DISQUS_SHORTNAME,
},