pages/_pages/repositories.md
Corentin Sautier 9b6decceb1
Fix no github_users titling in repositories.md (#2647)
Inverted order of title and {% if site.data.repositories.github_users
%}, so that if there is no github_users, the "GitHub users" title does
not appear.
2024-08-20 11:50:00 -03:00

1.3 KiB

layout permalink title description nav nav_order
page /repositories/ repositories Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories. true 4

{% if site.data.repositories.github_users %}

GitHub users

{% for user in site.data.repositories.github_users %} {% include repository/repo_user.liquid username=user %} {% endfor %}

{% if site.repo_trophies.enabled %} {% for user in site.data.repositories.github_users %} {% if site.data.repositories.github_users.size > 1 %}

{{ user }}

{% endif %}
{% include repository/repo_trophies.liquid username=user %}

{% endfor %} {% endif %} {% endif %}

{% if site.data.repositories.github_repos %}

GitHub Repositories

{% for repo in site.data.repositories.github_repos %} {% include repository/repo.liquid repository=repo %} {% endfor %}
{% endif %}