Skip to content

Commit 2a269d2

Browse files
committed
#1935 clean-up the footer follow a bit
1 parent 93a8ea1 commit 2a269d2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

_includes/footer.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
{% include base_path %}
22

3+
{% if site.author.github or site.author.bitbucke or site.atom_feed.hide != true %}
34
<div class="page__footer-follow">
45
<ul class="social-icons">
56
{% if site.data.ui-text[site.locale].follow_label %}
67
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
78
{% endif %}
8-
{% if site.twitter.username %}
9-
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fab fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
10-
{% endif %}
11-
{% if site.facebook.username %}
12-
<li><a href="https://facebook.com/{{ site.facebook.username }}"><i class="fab fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
13-
{% endif %}
149
{% if site.author.github %}
1510
<li><a href="http://github.com/{{ site.author.github }}"><i class="fab fa-github" aria-hidden="true"></i> GitHub</a></li>
1611
{% endif %}
@@ -22,5 +17,6 @@
2217
{% endif %}
2318
</ul>
2419
</div>
20+
{% endif %}
2521

2622
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://github.com/academicpages/academicpages.github.io">AcademicPages</a>, a fork of <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>

0 commit comments

Comments
 (0)