Skip to content

Commit

Permalink
Added link to Linkedin and mailto on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianneto committed May 11, 2016
1 parent 51b954d commit 9c42c7b
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 25 deletions.
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ google_analytics:
# Social Accounts
twitter_url:
facebook_url:
github_url: https://github.com/klugjo/hexo-theme-clean-blog
github_url: https://github.com/klugjo/hexo-theme-clean-blog
linkedin_url:
mailto:
78 changes: 54 additions & 24 deletions layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,60 @@
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center">
<li>
<a href="<%- theme.twitter_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="<%- theme.facebook_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li>
<a href="<%- theme.github_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% if (theme.twitter_url) { %>
<li>
<a href="<%- theme.twitter_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% } %>

<% if (theme.facebook_url) { %>
<li>
<a href="<%- theme.facebook_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% } %>

<% if (theme.github_url) { %>
<li>
<a href="<%- theme.github_url%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% } %>

<% if (theme.linkedin_url) { %>
<li>
<a href="<%- theme.linkedin_url%>" 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>
</li>
<% } %>

<% if (theme.mailto) { %>
<li>
<a href="mailto:<%- theme.mailto%>" target="_blank">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-envelope-o fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<% } %>
</ul>
<p class="copyright text-muted">Original Theme <a target="_blank" href="http://startbootstrap.com/template-overviews/clean-blog/">Clean Blog</a> from <a href="http://startbootstrap.com/" target="_blank">Start Bootstrap</a></p>
<p class="copyright text-muted">Adapted for <a target="_blank" href="https://hexo.io/">Hexo</a> by <a href="http://www.codeblocq.com/" target="_blank">Jonathan Klughertz</a></p>
Expand Down

0 comments on commit 9c42c7b

Please sign in to comment.