mirror of
https://github.com/eosswedenorg/apt
synced 2026-07-02 11:43:41 +02:00
Adding _includes/repo-table.html
This commit is contained in:
parent
ea903b700b
commit
1e85b4eedb
1 changed files with 22 additions and 0 deletions
22
_includes/repo-table.html
Normal file
22
_includes/repo-table.html
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th style="text-align: left">Name</th>
|
||||||
|
<th style="text-align: left">Distributions</th>
|
||||||
|
<th style="text-align: left">Description</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{%- assign repos = site.repos | sort: 'sequence' -%}
|
||||||
|
{%- for repo in repos -%}
|
||||||
|
<tr>
|
||||||
|
{%- assign url = repo.url | relative_url -%}
|
||||||
|
{%- assign dists = site.packages | where: 'Repo', repo.slug | group_by: 'Archive' %}
|
||||||
|
<td style="text-align: left"><a href="{{ url }}">{{ repo.title }}</a></td>
|
||||||
|
<td style="text-align: left">{% include dist-list.html baseurl=url list=dists %}</td>
|
||||||
|
<td style="text-align: left">{{ repo.description }}</td>
|
||||||
|
</tr>
|
||||||
|
{%- endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue