Skip to content

Commit

Permalink
add email to for blog footer
Browse files Browse the repository at this point in the history
  • Loading branch information
CatherineLiyuankun committed Aug 23, 2018
1 parent 28f6a36 commit 246e4e2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _config.yml
Expand Up @@ -41,6 +41,7 @@ github_username: catherineliyuankun
twitter_username: CatherineLiYK
facebook_username: liyuankun
linkedin_username: liyuankun
email_username: muzilan1@qq.com
# weibo_username: muzilanlan

# Build settings
Expand Down Expand Up @@ -178,7 +179,7 @@ markdown:
anchors:
level: 1
permalinkSymbol: ''

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
Expand Down
11 changes: 11 additions & 0 deletions themes/zilan/layout/_partial/footer.ejs
Expand Up @@ -59,6 +59,17 @@
</li>
<% } %>

<% if (config.email_username) { %>
<li>
<a target="_blank" href="mailto:<%= config.email_username %>">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-envelope fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% } %>

<% if (config.twitter_username) { %>
<li>
<a target="_blank" href="https://twitter.com/<%= config.twitter_username %>">
Expand Down

0 comments on commit 246e4e2

Please sign in to comment.