Browse Source

corrected fork skipping logic

unreleased_contents
Philip Hofstetter 13 years ago
parent
commit
1860c23632
  1. 2
      .themes/classic/source/javascripts/github.js
  2. 1
      _config.yml

2
.themes/classic/source/javascripts/github.js

@ -18,7 +18,7 @@ github = (function(){
var repos = []; var repos = [];
var i; var i;
for (i = 0; i < data.repositories.length; i++){ for (i = 0; i < data.repositories.length; i++){
if (options.skip_forks && !data.repositories[i].fork) if (options.skip_forks && data.repositories[i].fork)
continue; continue;
repos.push(data.repositories[i]); repos.push(data.repositories[i]);
} }

1
_config.yml

@ -59,6 +59,7 @@ twitter_tweet_button: true
github_user: github_user:
github_repo_count: 0 github_repo_count: 0
github_show_profile_link: true github_show_profile_link: true
github_skip_forks: true
# Google Plus # Google Plus
google_plus_one: true google_plus_one: true

Loading…
Cancel
Save