fix: Don't add https to email

This commit is contained in:
Nathan Woodburn 2024-02-25 12:42:08 +11:00
parent 63c8d9923e
commit 463125bac7
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -195,7 +195,7 @@ def site_post():
for i in socials:
# Set link to lowercase
i['url'] = i['url'].lower()
if not i['url'].startswith('http'):
if not i['url'].startswith('http') and i['name'] != 'email':
i['url'] = 'https://' + i['url']