Skip to content

Commit

Permalink
Fix no github_users titling in repositories.md (alshedivat#2647)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CSautier authored Aug 20, 2024
1 parent abd6d44 commit 6692ac2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _pages/repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ nav: true
nav_order: 4
---

## GitHub users

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

## GitHub users

<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
{% for user in site.data.repositories.github_users %}
{% include repository/repo_user.liquid username=user %}
Expand All @@ -35,10 +35,10 @@ nav_order: 4
{% endif %}
{% endif %}

## GitHub Repositories

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

## GitHub Repositories

<div class="repositories d-flex flex-wrap flex-md-row flex-column justify-content-between align-items-center">
{% for repo in site.data.repositories.github_repos %}
{% include repository/repo.liquid repository=repo %}
Expand Down

0 comments on commit 6692ac2

Please sign in to comment.