Skip to content

Conversation

@raconger
Copy link

How to Configure
Open _config.yml and update the newsletter section:
newsletter:
enabled: true # Set to false to hide the form
heading: "Subscribe to updates"
description: "Get occasional updates on new ideas, essays, and projects."
service: "buttondown" # Options: "buttondown", "custom", or leave blank
buttondown_username: "yourusername" # Replace with YOUR Buttondown username
To Use Buttondown (like stephango.com):
Sign up at https://buttondown.email
Get your username (appears in your Buttondown URL)
Replace "yourusername" with your actual username in _config.yml
To Use Another Service:
Change service: to "custom"
Add form_action: "https://your-service.com/subscribe"
Update the form fields as needed in _includes/email-subscription.html
Files Modified
_includes/email-subscription.html (new)
style.scss (added styling)
index.html (added subscription form)
_layouts/post.html (added subscription form)
_config.yml (added configuration)
All changes have been committed and pushed to branch claude/add-email-subscription-01GaAmgEmg5uRJuq9YW5SEu3.
The implementation is clean, minimal, and

raconger and others added 19 commits September 14, 2020 13:57
moving over to semi-healthy.blog
Implemented a clean, minimal email subscription form similar to stephango.com:
- Created reusable email-subscription.html include component
- Added responsive styling matching the blog's aesthetic
- Integrated form on homepage (after posts) and individual post pages
- Configured to work with Buttondown or custom newsletter services
- Added newsletter configuration options to _config.yml

The form is fully configurable via _config.yml and supports:
- Buttondown integration (like stephango.com)
- Custom form actions for other services
- Customizable heading and description text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants