aboutsummaryrefslogtreecommitdiff
path: root/_includes/links.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/links.html')
-rw-r--r--_includes/links.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/_includes/links.html b/_includes/links.html
new file mode 100644
index 0000000..d301161
--- /dev/null
+++ b/_includes/links.html
@@ -0,0 +1,19 @@
+<h2>Related links</h2>
+
+<ul>
+ {% for link in site.data.links %}
+ <li>
+ {% assign description = link.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
+ {% assign title = link.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape %}
+ {% assign url = link.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape %}
+
+ <a href="{{ url }}" target="_blank">{{ title }}</a>
+ <span>—</span>
+ <span>{{ description }}</span>
+ </li>
+ {% endfor %}
+</ul>
+
+{% assign description = "" %}
+{% assign title = "" %}
+{% assign url = "" %}