Fixed the generation of links on the homepage

This commit is contained in:
Valentin Popov 2018-04-11 14:50:34 +00:00
parent 7ad1ac4791
commit e9b7164681

View File

@ -9,11 +9,9 @@ layout: default
<h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2> <h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2>
<ul> <ul>
{% for item in site.social_links %} {% for item in site.social_links %}
<li> {% assign title = item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify %}
<a href="{{ item[1] | strip_newlines | strip_html | strip | uri_escape }}" target="_blank"> {% assign link = item[1] | strip_newlines | strip_html | strip | uri_escape %}
{{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} <li><a href="{{ link }}" target="_blank">{{ title }}</a></li>
</a>
</li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>