This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
27 lines (24 loc) · 1.53 KB
/
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
---
title: mySociety Data Portal
layout: default
---
<h1 class="homepage-title">{{ site.description }}</h1>
<div class="homepage-description">
<p>mySociety services produce a lot of useful (and interesting!) data. Over the years we’ve often made components or the results of mySociety services available through <a href="/datasets/?category=apis">APIs</a> or as open data to download (such as our <a href="/sources/everypolitician/">EveryPolitician data</a>).</p>
<p>This data portal brings all our published data together in one place to help people make the use of all the data products we provide.</p>
<p>If you end up doing something interesting with the data, please <ahref = "mailto:[email protected]">let us know!</a></p>
</div>
<div class="homepage-categories">
{% assign featured_categories = site.data.categories | where: 'featured', 'true' %}
{% for category in featured_categories %}
{% 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 }}/categories/{{ category.name | slugify }}/" class="thumbnail category-card" title="{{ logo_alt }}">
<div class="category-card__content">
{% if category.logo and category.logo != empty %}
<img src="{{ site.baseurl }}{{ category.logo }}" alt="{{ logo_alt }}" class="category-card__image" height="128" width="128">
{% endif %}
<h2 class="category-card__title">{{ category.name }}</h2>
</div>
</a>
{% endfor %}
</div>