forked from timwis/jkan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (24 loc) · 899 Bytes
/
index.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
---
layout: default
---
<div class="jumbotron">
<h1>{{ site.greeting }}</h1>
<p>
{{ site.description }}
</p>
<p><a class="btn btn-primary btn-lg" href="{{ site.baseurl }}/datasets" role="button">Start browsing</a></p>
</div>
<h3>Browse by Category</h3>
<div class="homepage-categories">
{% for category in site.data.categories %}
{% if category.featured == true %}
{% capture logo_alt %}{{ category.name }}{% if category.logo_credit and category.logo_credit != empty %} logo by {{ category.logo_credit }}{% endif %}{% endcapture %}
<a href="{{ site.baseurl }}/datasets/?category={{ category.name | slugify }}" class="thumbnail" title="{{ logo_alt }}">
{% if category.logo and category.logo != empty %}
<img src="{{ site.baseurl }}{{ category.logo }}" alt="{{ logo_alt }}">
{% endif %}
{{ category.name }}
</a>
{% endif %}
{% endfor %}
</div>