From b0a0d5d89f56aac43b3faf63ad37e546d02d2579 Mon Sep 17 00:00:00 2001 From: lance Date: Fri, 24 Jan 2020 15:33:40 -0800 Subject: [PATCH] add email to the list of social links --- web/templates/core/help.html | 2 +- xmrauctions/settings.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/web/templates/core/help.html b/web/templates/core/help.html index 4fd8e56..f302409 100644 --- a/web/templates/core/help.html +++ b/web/templates/core/help.html @@ -83,7 +83,7 @@

Need some support? Have a question? Need to tell me something?

-

Contact me at any of the locations below

+

Contact me at any of the locations below:

    {% for k,v in site_meta.social_media.items %}
  • {{ v.comment }}
  • diff --git a/xmrauctions/settings.py b/xmrauctions/settings.py index a7f0c1d..b514ddb 100644 --- a/xmrauctions/settings.py +++ b/xmrauctions/settings.py @@ -36,6 +36,7 @@ BLOCK_EXPLORER = 'https://community.xmr.to/explorer/%s' IRC_USER = os.environ.get('IRC_USER', 'lza_menace') TWITTER_USER = os.environ.get('TWITTER_USER', 'lza_menace') GITHUB_USER = os.environ.get('GITHUB_USER', 'lalanza808') +EMAIL_ACCOUNT = os.environ.get('EMAIL_ACCOUNT', 'lza_menace@protonmail.com') SOCIAL_MEDIA = { 'fas fa-comment-dots': { @@ -49,6 +50,10 @@ SOCIAL_MEDIA = { 'fab fa-github': { 'url': f'https://github.com/{GITHUB_USER}', 'comment': f'Github - @{GITHUB_USER}' + }, + 'fas fa-envelope-open-text': { + 'url': f'mailto:{EMAIL_ACCOUNT}', + 'comment': f'Email - {EMAIL_ACCOUNT}' } }