get social urls from SOCIAL

This commit is contained in:
pajowu 2016-01-10 17:38:16 +02:00
parent a9fbc7c0ca
commit cacebed4bc

View File

@ -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 %}
<li> {% for name,link in SOCIAL %}
<a href="{{ TWITTER_URL }}"> <li>
<span class="fa-stack fa-lg"> <a href="{{ link }}">
<i class="fa fa-circle fa-stack-2x"></i> <span class="fa-stack fa-lg">
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i> <i class="fa fa-circle fa-stack-2x"></i>
</span> <i class="fa fa-{{ name|lower }} fa-stack-1x fa-inverse"></i>
</a> </span>
</li> </a>
{% endif %} </li>
{% if FACEBOOK_URL %} {% endfor %}
<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>
</a>
</li>
{% 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>,