fix: Don't add https to email

This commit is contained in:
2024-02-25 12:42:08 +11:00
parent 63c8d9923e
commit 463125bac7

View File

@@ -195,7 +195,7 @@ def site_post():
for i in socials: for i in socials:
# Set link to lowercase # Set link to lowercase
i['url'] = i['url'].lower() 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'] i['url'] = 'https://' + i['url']