(fix) use mailto: in email link

This commit is contained in:
Aric Huang 2017-03-04 15:15:02 -08:00 committed by GitHub
parent d7267ba40f
commit 7219be9d37

View File

@ -34,7 +34,7 @@ class SiteLinks extends React.Component {
<ul> <ul>
{config.siteEmailUrl && ( {config.siteEmailUrl && (
<li> <li>
<a href={config.siteEmailUrl}> <a href={`mailto:${config.siteEmailUrl}`}>
<i className="fa fa-envelope-o" /> <i className="fa fa-envelope-o" />
</a> </a>
</li> </li>
@ -59,4 +59,4 @@ class SiteLinks extends React.Component {
} }
} }
export default SiteLinks export default SiteLinks