Merge pull request #404 from mattcode55/fix-403

Add allforcrypto.com to merchants.yml and alphabetically sort merchants
This commit is contained in:
Riccardo Spagni 2017-09-21 09:54:41 -07:00 committed by GitHub
commit 98263704ff
2 changed files with 4 additions and 1 deletions

View file

@ -170,6 +170,8 @@
url: https://silverround.com/ url: https://silverround.com/
- name: Synntech Gaming - name: Synntech Gaming
url: https://synntechgaming.com url: https://synntechgaming.com
- name: All For Crypto
url: https://allforcrypto.com
- category: Entertainment - category: Entertainment
merchants: merchants:
- name: Crypto Games - name: Crypto Games

View file

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