Fixed the generation of links on the homepage
This commit is contained in:
parent
7ad1ac4791
commit
e9b7164681
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user