diff options
Diffstat (limited to 'source/_includes')
-rw-r--r-- | source/_includes/alphlist.html | 17 |
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;"> +‐ +{% for letter in include.pages_by_letter %} +<a href="#{{ letter.name }}">{{ letter.name }}</a> +‐ +{% 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 %} |