summaryrefslogtreecommitdiff
path: root/source/_includes/alphlist.html
blob: 181856c4bc57edf182bbefb7ff73729183032dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 %}