Alphabetically sort merchants

This commit is contained in:
Matt Smith 2017-09-15 21:00:16 +01:00
parent 1ace2f5a52
commit e982768276

View file

@ -11,7 +11,8 @@ Merchants of all kinds have come to value the financial privacy that Monero brin
<div class="info-block">
<h2>{{toplevel.category}}</h2>
<div class="row">
{% for merchants in toplevel.merchants %}
{% assign sortedMerchants = toplevel.merchants | sort: 'name' %}
{% for merchants in sortedMerchants %}
<div class="col-md-4 col-sm-6 col-xs-12">
<a href="{{merchants.url}}">{{merchants.name}}</a>
</div>