Add follow links to footer

- Close #205
This commit is contained in:
Michael Rose 2016-03-09 15:54:20 -05:00
parent d6e43b6977
commit 927b3d36ff
3 changed files with 34 additions and 10 deletions

View file

@ -585,14 +585,7 @@ $button-size: 1.5rem;
@include clearfix;
clear: both;
padding-bottom: 3em;
a,
a:active,
a:visited,
p,
h4,
h5,
h6,
span {
.copyright {
@include font-rem(14);
}
footer {
@ -612,6 +605,22 @@ $button-size: 1.5rem;
}
}
/* Follow links */
.follow {
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
display: inline-block;
}
li + li:before {
content: "";
padding-right: 5px;
}
}
/* Related articles list */
.related-articles {
@include grid(12,10);

View file

@ -1,3 +1,5 @@
{% include base_path %}
{% if site.owner.google.ad-client and site.owner.google.ad-slot %}
<div class="google-ads">
<!-- 320 x 50 ad -->
@ -12,4 +14,17 @@
</div><!-- /.google-ads -->
{% endif %}
<span>&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</span>
<div class="follow">
<ul>
<li><strong>Follow:</strong></li>
{% if site.twitter.username %}
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fa fa-fw fa-twitter"></i> Twitter</a></li>
{% endif %}
{% if site.facebook.username %}
<li><a href="https://facebook.com/{{ site.facebook.username }}"><i class="fa fa-fw fa-facebook"></i> Facebook</a></li>
{% endif %}
<li><a href="{{ base_path }}/feed.xml"><i class="fa fa-fw fa-rss"></i> Feed</a></li>
</ul>
</div>
<div class="copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. Powered by <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> using the <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a> theme.</div>

File diff suppressed because one or more lines are too long