From 63cee36bf8a8cb2676c5a62fcf700599bc226eb4 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 28 Feb 2020 15:31:46 +0100 Subject: [PATCH] index.md: make repository list a table and show available distributions. --- index.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/index.md b/index.md index 6232baa..f800c57 100644 --- a/index.md +++ b/index.md @@ -33,10 +33,14 @@ Here is a list of different repositories we provide. ### Repositories -{% assign repos = site.repos | sort: 'sequence' %} -{% for repo in repos %} -* [{{ repo.title }}]({{ repo.url | relative_url }}) - {{ repo.description }} -{% endfor %} +| Name | Distributions | Description | +| :--- | :------------ | :---------- | +{%- assign repos = site.repos | sort: 'sequence' -%} +{%- for repo in repos -%} + {%- assign url = repo.url | relative_url -%} + {%- assign dists = site.packages | where: 'Repo', repo.slug | group_by: 'Archive' %} +| [{{ repo.title }}]({{ url }}) | {% include dist-list.html baseurl=url list=dists %} | {{ repo.description }} | +{%- endfor %} ### Distributions