diff options
Diffstat (limited to '_includes/contacts.html')
-rw-r--r-- | _includes/contacts.html | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/_includes/contacts.html b/_includes/contacts.html index 06df563..1389c30 100644 --- a/_includes/contacts.html +++ b/_includes/contacts.html @@ -3,17 +3,9 @@ <ul> {% for contact in site.data.contacts %} <li> - {% assign description = contact.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %} - {% assign title = contact.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %} - {% assign url = contact.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape %} - - <a href="{{ url }}" target="_blank">{{ title }}</a> + <a href="{{ contact.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}" target="_blank">{{ contact.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</a> <span>—</span> - <span>{{ description }}</span> + <span>{{ contact.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span> </li> {% endfor %} </ul> - -{% assign description = "" %} -{% assign title = "" %} -{% assign url = "" %} |