Skip to content

Commit

Permalink
add support of linkedin link
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaijun committed Apr 29, 2016
1 parent df626e0 commit 3bed1e8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ zhihu_username: huxpro
github_username: huxpro
#twitter_username: huxpro
facebook_username: huxpro
# linkedin_username: firstname-lastname-idxxxx



Expand Down
10 changes: 10 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@
</a>
</li>
{% endif %}
{% if site.linkedin_username %}
<li>
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
<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>
</li>
{% endif %}
</ul>
<p class="copyright text-muted">
Copyright &copy; {{ site.title }} {{ site.time | date: '%Y' }}
Expand Down
10 changes: 10 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,16 @@ <h5><a href="{{'/tags/' | prepend: site.baseurl }}">FEATURED TAGS</a></h5>
</a>
</li>
{% endif %}
{% if site.linkedin_username %}
<li>
<a target="_blank" href="https://www.linkedin.com/in/{{ site.linkedin_username }}">
<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>
</li>
{% endif %}
</ul>
</div>
</section>
Expand Down

0 comments on commit 3bed1e8

Please sign in to comment.