aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-24 19:00:04 +0300
committerValentin Popov <info@valentineus.link>2018-04-24 19:00:04 +0300
commitebceb1c3dec8478dbbaa29c7b22d509354c8646d (patch)
tree7f7773ffcb9e794b4b5f1e78d9c6d335ccc7f785 /_includes
parente0bfa7a3b09fdcc80f92c5c61b92d7ff0e33945c (diff)
downloadpopov.link-ebceb1c3dec8478dbbaa29c7b22d509354c8646d.tar.xz
popov.link-ebceb1c3dec8478dbbaa29c7b22d509354c8646d.zip
Collection with additional links
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_includes')
-rw-r--r--_includes/additional_links.html11
-rw-r--r--_includes/sociallinks.html9
2 files changed, 11 insertions, 9 deletions
diff --git a/_includes/additional_links.html b/_includes/additional_links.html
new file mode 100644
index 0000000..ddc0c97
--- /dev/null
+++ b/_includes/additional_links.html
@@ -0,0 +1,11 @@
+<p class="social-links">
+ {% for link in site.data.additional_links %}
+ <a href="{{ link.url | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">
+ {{ link.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}
+ </a>
+ <!-- Separation trait -->
+ {% unless forloop.last %}
+ <span>|</span>
+ {% endunless %}
+ {% endfor %}
+</p>
diff --git a/_includes/sociallinks.html b/_includes/sociallinks.html
deleted file mode 100644
index 0f9cd34..0000000
--- a/_includes/sociallinks.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<p class="social-links">
- {% for item in site.social_links %}
- <a href="{{ item[1] | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">
- {{ item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify | downcase | capitalize }}
- </a>
- <!-- Separation trait -->
- {% unless forloop.last %}|{% endunless %}
- {% endfor %}
-</p>