Next.js boilerplate template ported from StyleShout.
https://nextjs-typerite-boilerplate.netlify.app
| Property | Required | Description |
|---|---|---|
| title | β | Post title |
| slug | β | Url slug (/post/{slug}) |
| date | β | Post date |
| description | Post description | |
| tags | Array of tags (ex: ['foo', 'bar']) |
|
| image | Thumbnail image(s) (ex./images/foo.png or ['/images/foo.png', '/images/bar.png']) |
|
| bannerImage | Banner image(s) displayed on post page (ex./images/foo.png or ['/images/foo.png', '/images/bar.png']) |
|
| audio | Audio embed URL for displaying audio on post page | |
| video | Video embed URL for displaying video on post list and page | |
| disqusid | Disqus identifier (disqus must also be provided in main configuration) |
| Property | Required | Description |
|---|---|---|
| title | β | Site title |
| postsPerPage | β | How many posts should be displayed per page |
| navigationLinks | Array of links to display in navigation | |
| socialLinks | Array of social links to display in header (max 4) | |
| disqus | Disqus account username for displaying comments on post pages | |
| googleAnalytics | Google Analytics account ID for data tracking |
npm run dev
npm run build
npm t
npm run cypress
Read More LICENSE
