forked from a11yproject/a11yproject.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resources.html
35 lines (33 loc) · 1.13 KB
/
resources.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: page
title: Resources
description: Accessibility software, books, blogs, online tools, and more
permalink: resources/
---
<nav class="toc-wrap toc-long" aria-labelledby="toc_title">
<h2 id="toc_title" class="toc-title">Categories</h2>
<ul class="toc">
{% for category in site.data.resources %}
<li>
<a class="{{ category.section-id }}" href="#{{category.section-id}}">
{{ category.resource-category }}
</a>
</li>
{% endfor %}
</ul>
</nav>
{% for category in site.data.resources %}
<section id="{{category.section-id}}" class="article-section resources-section" tabindex="-1">
<h3 class="article-section__title">{{ category.resource-category }}</h3>
<ul class="article-section__content">
{% assign sorted_resources = category.resources | sort: 'title' %}
{% for resource in sorted_resources %}
<li>
<a href="{{ resource.url }}" rel="external">
{{resource.title}}
</a>{% if resource.description %}<span> - {{ resource.description }}</span>{% endif %}
</li>
{% endfor %}
</ul>
</section>
{% endfor %}