diff options
Diffstat (limited to '_pages/index.html')
-rw-r--r-- | _pages/index.html | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/_pages/index.html b/_pages/index.html index 3b95333..c610388 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -9,11 +9,9 @@ layout: default <h2>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}</h2> <ul> {% for item in site.social_links %} - <li> - <a href="{{ item[1] | strip_newlines | strip_html | strip | uri_escape }}" target="_blank"> - {{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} - </a> - </li> + {% assign title = item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify %} + {% assign link = item[1] | strip_newlines | strip_html | strip | uri_escape %} + <li><a href="{{ link }}" target="_blank">{{ title }}</a></li> {% endfor %} </ul> </div> |