Change glossary to sort_natural (#7523)
The default sort in liquid is ASCIIbetical, but there is a built in sort_natural that allows you to sort things in human sensible ways. This updates the glossary list to use sort_natural instead. Fixes issue #7491
This commit is contained in:
@@ -37,7 +37,7 @@ default_active_tag: fundamental
|
||||
|
||||
<p>Click on the <a href="javascript:void(0)" class="no-underline">[+]</a> indicators below to get a longer explanation for any particular term.</p>
|
||||
|
||||
{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" | sort: 'name' %}
|
||||
{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" | sort_natural: 'name' %}
|
||||
|
||||
<ul>
|
||||
{% for term in glossary_terms %}
|
||||
|
||||
Reference in New Issue
Block a user