diff options
author | Valentin Popov <info@valentineus.link> | 2020-01-23 19:08:52 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-01-23 19:12:44 +0300 |
commit | 28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6 (patch) | |
tree | 827c4f21448446777e651e05582222fcd4379894 /_includes/contacts.html | |
parent | 8184c9403408ec66c19cdee80d55d9db7ecf87c7 (diff) | |
download | popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.tar.xz popov.link-28aec1dfdd90b7ffdd11321895ac37c0c2ab6fc6.zip |
Deleted variable declaration
Signed-off-by: Valentin Popov <info@valentineus.link>
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 = "" %} |