| layout | default |
|---|
{% for repo in site.repos %}
{{ repo.description }}
{% capture repofile %}{% for file in site.static_files %}{% if file.path contains '.repo' and file.path contains repo.path %}{{ file.path }}{% endif %}{% endfor %}{% endcapture %}
To use the repository, create a /etc/yum.repos.d/{{ repofile | split: "/" | last }} file with the following content:
{% include_relative {{ repofile }} -%}All {{ repo.name }} files:
-
{% for file in site.static_files %}
{% if file.path contains repo.path %}
- {{ file.path }} {% endif %} {% endfor %}
{% endfor %}