summaryrefslogtreecommitdiff
path: root/source/_includes
diff options
context:
space:
mode:
authorPrefetch2022-10-19 20:03:25 +0200
committerPrefetch2022-10-19 22:01:14 +0200
commite5b9bce79b68a68ddd2e51daa16d2fea73b84fdb (patch)
treef304894ace9d5da35f08127c4597485511b8a160 /source/_includes
parent6ce0bb9a8f9fd7d169cbb414a9537d68c5290aae (diff)
Polish presentation, "fix" Unicode sorting
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 %}