gatsby-theme-mailchimped

0.1.2 • Public • Published

Gatsby-theme-mailchimped

Version Twitter: 2600hz

A simple theme to help you subscribe new email addresses to a Mailchimp email list. Mailchimp does not provide much direction on making clientside requests so the setup to achieve this with a static website (i.e. Gatsby) can be cumbersome!

🏠 Homepage

Install

yarn add gatsby-theme-mailchimped

Usage

Define a enviroment variable GATSBY_MAILCHIMP_LIST_ENDPOINT = Your-Mailchimp-List-Endpoint-Url

Or

Define mailchimpListEndpoint: Your-Mailchimp-List-Endpoint-Url option into plugins options section

    plugins: [
        {
            resolve: "gatsby-theme-mailchimped",
            options: {
                mailchimpListEndpoint: Your-Mailchimp-List-Endpoint-Url or false,
                subscribeFormClassname: `subscribe-form`,
                subscribeInputClassname: `form-control`,
                subscribeInputPlaceholder: `Enter my email address`,
                subscribeSubmitClassname: `submit px-3`,
                subscribeSubmitPlaceholder: `Subscribe`,
            },
        },
    ],

Author

👤 Carlos Guimarães sekmet@open4g.com

Show your support

Give a ⭐️ if this project helped you!

support us


This README was generated with ❤️ by readme-md-generator

Package Sidebar

Install

npm i gatsby-theme-mailchimped

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

7.92 kB

Total Files

6

Last publish

Collaborators

  • sekmet