get social urls from SOCIAL
This commit is contained in:
parent
a9fbc7c0ca
commit
cacebed4bc
@ -133,35 +133,17 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||||
<ul class="list-inline text-center">
|
<ul class="list-inline text-center">
|
||||||
{% if TWITTER_URL %}
|
{% if SOCIAL %}
|
||||||
|
{% for name,link in SOCIAL %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ TWITTER_URL }}">
|
<a href="{{ link }}">
|
||||||
<span class="fa-stack fa-lg">
|
<span class="fa-stack fa-lg">
|
||||||
<i class="fa fa-circle fa-stack-2x"></i>
|
<i class="fa fa-circle fa-stack-2x"></i>
|
||||||
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
|
<i class="fa fa-{{ name|lower }} fa-stack-1x fa-inverse"></i>
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% if FACEBOOK_URL %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ FACEBOOK_URL }}">
|
|
||||||
<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>
|
|
||||||
{% endif %}
|
|
||||||
{% if GITHUB_URL %}
|
|
||||||
<li>
|
|
||||||
<a href="{{ GITHUB_URL }}">
|
|
||||||
<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>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<p class="copyright text-muted">Blog powered by <a href="http://getpelican.com">Pelican</a>,
|
<p class="copyright text-muted">Blog powered by <a href="http://getpelican.com">Pelican</a>,
|
||||||
|
Loading…
Reference in New Issue
Block a user