diff --git a/_config.yml b/_config.yml index 163807f..4364683 100644 --- a/_config.yml +++ b/_config.yml @@ -27,6 +27,9 @@ collections: repos: permalink: "/:name" output: true + packages: + permalink: "/:path" + output: true # ----------------- # Build config diff --git a/_layouts/repo.html b/_layouts/repo.html index bd050ae..fba1a61 100644 --- a/_layouts/repo.html +++ b/_layouts/repo.html @@ -2,9 +2,10 @@ layout: default --- + {% assign domain = page.domain | default: site.apt.domain %} {% assign repo = page.repo %} -{% assign list = site.data.index[repo].bionic %} +{% assign list = site.packages | where: 'Repo', repo %}
NOTE: If this is your first time here, you need to do some configurations before you can use this repository. @@ -18,28 +19,25 @@ layout: default {% for component in site.apt.components %}
| Name | -Version | +Description | +Latest Version | ||
|---|---|---|---|---|---|
| {{ package.name }} | - {% else %} -- | - {% endif %} -{{ version }} | +{{ package.Name }} | +{{ package.Description }} | +{{ package.Versions.first[0] }} |
No packages