🎨 configurable social links

This commit is contained in:
mi
2025-11-18 13:22:56 +10:00
parent 9c566bcc3c
commit d374df6b0b
5 changed files with 36 additions and 42 deletions

View File

@@ -97,10 +97,19 @@ NEWSLETTER_ENABLED = False
# '''
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'
SOCIAL_EMAIL = None # e.g., 'mailto:your@email.com'
# Social media links - add/remove/reorder as needed
# Each link should have 'label', 'url', and optionally 'icon' (filename in static/images/icons/)
# Set to empty list [] to show no social links
SOCIAL_LINKS = [
# Example links (uncomment and customize):
# {'label': 'Instagram', 'url': 'https://instagram.com/yourhandle', 'icon': 'instagram.png'},
# {'label': 'YouTube', 'url': 'https://youtube.com/@yourchannel', 'icon': 'youtube.png'},
# {'label': 'Email', 'url': 'mailto:your@email.com', 'icon': 'mail.png'},
# {'label': 'Bluesky', 'url': 'https://bsky.app/profile/yourhandle', 'icon': 'bluesky.png'},
# {'label': 'Patreon', 'url': 'https://patreon.com/yourname', 'icon': 'patreon.png'},
# {'label': 'Ko-fi', 'url': 'https://ko-fi.com/yourname', 'icon': 'kofi.png'},
# {'label': 'Mastodon', 'url': 'https://mastodon.social/@yourhandle', 'icon': 'mastodon.png'},
]
# API documentation link - set to None to hide the link
# Path is relative to static/ directory