Permalink
Browse files

Merge pull request #32 from fmagnan/linkedin

add linkedin icon in author block
  • Loading branch information...
2 parents c4af8de + 3844cf6 commit 68b8a30eff661569986aa428912734da15cc9097 @A-limon committed Oct 24, 2014
Showing with 7 additions and 1 deletion.
  1. +1 −0 _config.yml
  2. +3 −0 layout/_partial/footer.ejs
  3. +3 −1 source/css/_partial/footer.styl
View
@@ -64,6 +64,7 @@ author:
github: ## e.g. A-limon for https://github.com/A-limon
facebook: ## e.g. yangjian for https://favebook.com/yangjian
tsina: ## e.g. 1664838973 Your weibo ID,It will be used in share button.
+ linkedin: ## e.g. in/jeffweiner08 for https://www.linkedin.com/in/jeffweiner08
#### Comment
duoshuo:
@@ -24,6 +24,9 @@
<% if(theme.author.facebook){ %>
<a href="https://www.facebook.com/<%=theme.author.facebook %>" target="_blank" title="facebook"></a>
<% } %>
+ <% if(theme.author.linkedin){ %>
+ <a href="https://www.linkedin.com/<%=theme.author.linkedin %>" target="_blank" title="linkedin"></a>
+ <% } %>
</div>
<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © <%= new Date().getFullYear() %>
<% if (config.author) { %>
@@ -85,7 +85,7 @@ footer
padding 0.3em
&:hover:before
color color-blue
- &[title="weibo"]::before,&[title="twitter"]::before,&[title="github"]::before,&[title="facebook"]::before
+ &[title="weibo"]::before,&[title="twitter"]::before,&[title="github"]::before,&[title="facebook"]::before,&[title="linkedin"]::before
font-family font-icon-family
font-smoothing()
&[title="weibo"]::before
@@ -96,6 +96,8 @@ footer
content "\f09b"
&[title="facebook"]::before
content "\f09a"
+ &[title="linkedin"]::before
+ content "\f08c"
.copyright
if ShowCustomFont

0 comments on commit 68b8a30

Please sign in to comment.