Add YouTube link to Footer
This commit is contained in:
parent
613367bb8c
commit
9661e6cb7f
@ -48,6 +48,7 @@ author:
|
||||
xing: yourname # eg. daattali
|
||||
stackoverflow: yourlink # eg. "3943160/daattali"
|
||||
instagram: yourname # eg. daattali
|
||||
youtube: yourlink # eg. user/daattali or channel/daatali
|
||||
|
||||
# Select which links to show in the footer
|
||||
footer-links-active:
|
||||
@ -60,6 +61,7 @@ footer-links-active:
|
||||
xing: false
|
||||
stackoverflow: false
|
||||
instagram: false
|
||||
youtube: false
|
||||
|
||||
# Select which share links to show in posts
|
||||
share-links-active:
|
||||
|
@ -82,6 +82,16 @@
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if site.author.youtube and site.footer-links-active.youtube %}
|
||||
<li>
|
||||
<a href="https://www.youtube.com/{{ site.author.youtube }}" title="YouTube">
|
||||
<span class="fa-stack fa-lg">
|
||||
<i class="fa fa-circle fa-stack-2x"></i>
|
||||
<i class="fa fa-youtube fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if site.footer-links-active.rss %}
|
||||
<li>
|
||||
@ -91,14 +101,14 @@
|
||||
<i class="fa fa-rss fa-stack-1x fa-inverse"></i>
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
<p class="copyright text-muted">
|
||||
{{ site.author.name }}
|
||||
•
|
||||
{{ site.time | date: '%Y' }}
|
||||
|
||||
|
||||
{% if site.url-pretty %}
|
||||
•
|
||||
<a href="{{ site.url }}">{{ site.url-pretty }}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user