Only include GitHub repo listing if site.github_repo_count is > 0. Fixes #344.

This commit is contained in:
Parker Moore 2013-03-05 23:22:41 +01:00
parent a63bb4f701
commit 810d7e4d4f
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{% if site.github_user %}
{% if site.github_user and site.github_repo_count > 0 %}
<section>
<h1>On GitHub</h1>
<div id="gh_repos" data-user="{{site.github_user}}" data-count="{{site.github_repo_count}}" data-skip="{{site.github_skip_forks}}" data-repos="{{site.github_repos | join:, }}"></div>