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.
1.3 KiB
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 %}