From 6f7b576b60245ade870300bacf64e9fc9b6032aa Mon Sep 17 00:00:00 2001 From: Michael Scheiwiller Date: Fri, 16 Aug 2024 11:25:31 +0200 Subject: [PATCH] feat: add beehiiv as newsletter platform --- .env.example | 4 ++++ README.md | 2 +- data/blog/introducing-tailwind-nextjs-starter-blog.mdx | 4 ++-- data/siteMetadata.js | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index b28833b56..25b2ec029 100644 --- a/.env.example +++ b/.env.example @@ -27,3 +27,7 @@ EMAILOCTOPUS_API_KEY= # List ID can be found in the URL as a UUID after clicking a list on https://emailoctopus.com/lists # or the settings page of your list https://emailoctopus.com/lists/{UUID}/settings EMAILOCTOPUS_LIST_ID= + +# Create Beehive API key at https://developers.beehiiv.com/docs/v2/bktd9a7mxo67n-create-an-api-key +BEEHIVE_API_KEY= +BEEHIVE_PUBLICATION_ID= \ No newline at end of file diff --git a/README.md b/README.md index 76e3d8d9a..2639f0780 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea - Integration with [pliny](https://github.com/timlrx/pliny) that provides: - Multiple analytics options including [Umami](https://umami.is/), [Plausible](https://plausible.io/), [Simple Analytics](https://simpleanalytics.com/), Posthog and Google Analytics - Comments via [Giscus](https://github.com/laymonage/giscus), [Utterances](https://github.com/utterance/utterances) or Disqus - - Newsletter API and component with support for Mailchimp, Buttondown, Convertkit, Klaviyo, Revue, and Emailoctopus + - Newsletter API and component with support for Mailchimp, Buttondown, Convertkit, Klaviyo, Revue, Emailoctopus and Beehiiv - Command palette search with [Kbar](https://github.com/timc1/kbar) or Algolia - Server-side syntax highlighting with line numbers and line highlighting via [rehype-prism-plus](https://github.com/timlrx/rehype-prism-plus) - Math display supported via [KaTeX](https://katex.org/) diff --git a/data/blog/introducing-tailwind-nextjs-starter-blog.mdx b/data/blog/introducing-tailwind-nextjs-starter-blog.mdx index 362145be7..140ab86d4 100644 --- a/data/blog/introducing-tailwind-nextjs-starter-blog.mdx +++ b/data/blog/introducing-tailwind-nextjs-starter-blog.mdx @@ -1,7 +1,7 @@ --- title: 'Introducing Tailwind Nextjs Starter Blog' date: '2021-01-12' -lastmod: '2024-06-02' +lastmod: '2024-08-16' tags: ['next-js', 'tailwind', 'guide'] draft: false summary: 'Looking for a performant, out of the box template, with all the best in web technology to support your blogging needs? Checkout the Tailwind Nextjs Starter Blog template.' @@ -63,7 +63,7 @@ I wanted it to be nearly as feature-rich as popular blogging templates like [bea - Blog templates - TOC component - Support for nested routing of blog posts -- Newsletter component with support for mailchimp, buttondown and convertkit +- Newsletter component with support for Mailchimp, Buttondown, Convertkit, Klaviyo, Revue, Emailoctopus and Beehiiv - Supports [giscus](https://github.com/laymonage/giscus), [utterances](https://github.com/utterance/utterances) or disqus - Projects page - Preconfigured security headers diff --git a/data/siteMetadata.js b/data/siteMetadata.js index a1514c020..a734da771 100644 --- a/data/siteMetadata.js +++ b/data/siteMetadata.js @@ -46,7 +46,7 @@ const siteMetadata = { // }, }, newsletter: { - // supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus + // supports mailchimp, buttondown, convertkit, klaviyo, revue, emailoctopus, beehive // Please add your .env file and modify it according to your selection provider: 'buttondown', },