aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
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>