Skip to content

Commit

Permalink
Merge pull request #82 from yuchaozh/LinkedinIconAndLink
Browse files Browse the repository at this point in the history
add linkedin social media icon and links
  • Loading branch information
yanm1ng committed Jun 10, 2018
2 parents ce5b0b9 + 09cc34e commit c149a88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Expand Up @@ -50,6 +50,7 @@ about:
github_username: yanm1ng
zhihu_username: yummy1121
douban_username: yanm1ng
linkedin_username:

# MathJax Support
mathjax:
Expand Down
8 changes: 8 additions & 0 deletions layout/about.ejs
Expand Up @@ -38,6 +38,14 @@
</span>
</a>
<% } %>
<% if (theme.about.linkedin_username) { %>
<a class="icon-linkedin" href="https://www.linkedin.com/in/<%- theme.about.linkedin_username %>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-linkedin fa-stack-1x fa-inverse"></i>
</span>
</a>
<% } %>
<% if (theme.about.zhihu_username) { %>
<a class="icon-zhihu" href="https://www.zhihu.com/people/<%- theme.about.zhihu_username %>" target="_blank">
<span class="fa-stack fa-lg">
Expand Down
2 changes: 2 additions & 0 deletions source/css/_partial/about.styl
Expand Up @@ -69,6 +69,8 @@
color: #e6162d
.icon-github
color: #333333
.icon-linkedin
color: #0077B5
.icon-zhihu
color: #0767c8
.icon-twitter
Expand Down

0 comments on commit c149a88

Please sign in to comment.