add email to the list of social links

pull/3/head
lance 5 years ago
parent 9fd35da352
commit b0a0d5d89f

@ -83,7 +83,7 @@
<div class="row 100%"> <div class="row 100%">
<section class="12u 12u$(small)"> <section class="12u 12u$(small)">
<p class="sale-info">Need some support? Have a question? Need to tell me something?</p> <p class="sale-info">Need some support? Have a question? Need to tell me something?</p>
<p class="sale-info">Contact me at any of the locations below</p> <p class="sale-info">Contact me at any of the locations below:</p>
<ul> <ul>
{% for k,v in site_meta.social_media.items %} {% for k,v in site_meta.social_media.items %}
<li><a href="{{ v.url }}" target="_blank"><i class="{{ k }}"></i> {{ v.comment }}</a></li> <li><a href="{{ v.url }}" target="_blank"><i class="{{ k }}"></i> {{ v.comment }}</a></li>

@ -36,6 +36,7 @@ BLOCK_EXPLORER = 'https://community.xmr.to/explorer/%s'
IRC_USER = os.environ.get('IRC_USER', 'lza_menace') IRC_USER = os.environ.get('IRC_USER', 'lza_menace')
TWITTER_USER = os.environ.get('TWITTER_USER', 'lza_menace') TWITTER_USER = os.environ.get('TWITTER_USER', 'lza_menace')
GITHUB_USER = os.environ.get('GITHUB_USER', 'lalanza808') GITHUB_USER = os.environ.get('GITHUB_USER', 'lalanza808')
EMAIL_ACCOUNT = os.environ.get('EMAIL_ACCOUNT', 'lza_menace@protonmail.com')
SOCIAL_MEDIA = { SOCIAL_MEDIA = {
'fas fa-comment-dots': { 'fas fa-comment-dots': {
@ -49,6 +50,10 @@ SOCIAL_MEDIA = {
'fab fa-github': { 'fab fa-github': {
'url': f'https://github.com/{GITHUB_USER}', 'url': f'https://github.com/{GITHUB_USER}',
'comment': f'Github - @{GITHUB_USER}' 'comment': f'Github - @{GITHUB_USER}'
},
'fas fa-envelope-open-text': {
'url': f'mailto:{EMAIL_ACCOUNT}',
'comment': f'Email - {EMAIL_ACCOUNT}'
} }
} }