summaryrefslogtreecommitdiff
path: root/source/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'source/_includes')
-rw-r--r--source/_includes/alphlist.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/_includes/alphlist.html b/source/_includes/alphlist.html
new file mode 100644
index 0000000..181856c
--- /dev/null
+++ b/source/_includes/alphlist.html
@@ -0,0 +1,17 @@
+<div style="text-align: center;">
+&hyphen;
+{% for letter in include.pages_by_letter %}
+<a href="#{{ letter.name }}">{{ letter.name }}</a>
+&hyphen;
+{% endfor %}
+</div>
+
+{% for letter in include.pages_by_letter %}
+<h2 id="{{ letter.name }}">{{ letter.name }}</h2>
+<ul>
+ {% assign items = letter.items | sort: "sort_title" %}
+ {% for item in items %}
+ <li><a href="{{ item.url }}">{{ item.title | smartify }}</a></li>
+ {% endfor %}
+</ul>
+{% endfor %}