|
<!--- json input data: |
|
index: [ |
|
[ |
|
{divider: true, text: "A", url: ""}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23} |
|
], |
|
[ |
|
{divider: true, text: "F", url: ""}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23} |
|
], |
|
[ |
|
{divider: true, text: "J", url: ""}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23}, |
|
{text: "ACCTG 371", url: "", count:23} |
|
] |
|
] |
|
--> |
|
{{#each index}} |
|
<ul class="plain-list col-3"> |
|
{{#each this}} |
|
{{#if divider}} |
|
<li><a class="header">{{text}}</a></li> |
|
{{else}} |
|
<li><a href="{{url}}">{{text}}<span class="badge">{{count}}</span></a></li> |
|
{{/if}} |
|
{{/each}} |
|
</ul> |
|
{{/each}} |