customizable newsletter

This commit is contained in:
mi
2025-11-16 13:30:00 +10:00
parent 2580ea076d
commit 9c566bcc3c
5 changed files with 28 additions and 7 deletions

View File

@@ -86,6 +86,17 @@ USE_SHARE_ICONS = True
# Global setting: Set to True to show newsletter section in footer
NEWSLETTER_ENABLED = False
# Global setting: Custom HTML for newsletter form (only used if NEWSLETTER_ENABLED is True)
# Paste your newsletter service's form HTML here (Mailchimp, ConvertKit, Buttondown, etc.)
# Example:
# NEWSLETTER_HTML = '''
# <form action="https://yourservice.com/subscribe" method="post" class="newsletter-form">
# <input type="email" name="email" placeholder="Enter your email" required>
# <button type="submit">Subscribe</button>
# </form>
# '''
NEWSLETTER_HTML = '<p class="newsletter-placeholder">Newsletter coming soon!</p>'
# Social media links - set to None to hide the link
SOCIAL_INSTAGRAM = None # e.g., 'https://instagram.com/yourhandle'
SOCIAL_YOUTUBE = None # e.g., 'https://youtube.com/@yourchannel'