aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Hofstetter <phofstetter@sensational.ch>2011-08-04 21:49:38 +0200
committerPhilip Hofstetter <phofstetter@sensational.ch>2011-08-04 21:49:38 +0200
commit1860c236329a13e62b8af2f2c41c589fa25177bb (patch)
tree37cc2f6e8d3f5ac888197fe9c2f6d564137cbfb5
parent16bb7729ec740c1bc5d327aa5ac32bbff7a1afff (diff)
downloadmy_new_personal_website-1860c236329a13e62b8af2f2c41c589fa25177bb.tar.xz
my_new_personal_website-1860c236329a13e62b8af2f2c41c589fa25177bb.zip
corrected fork skipping logic
-rw-r--r--.themes/classic/source/javascripts/github.js2
-rw-r--r--_config.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/.themes/classic/source/javascripts/github.js b/.themes/classic/source/javascripts/github.js
index 79c60d1b..623d493f 100644
--- a/.themes/classic/source/javascripts/github.js
+++ b/.themes/classic/source/javascripts/github.js
@@ -18,7 +18,7 @@ github = (function(){
var repos = [];
var 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;
repos.push(data.repositories[i]);
}
diff --git a/_config.yml b/_config.yml
index a5f43225..3beacd60 100644
--- a/_config.yml
+++ b/_config.yml
@@ -59,6 +59,7 @@ twitter_tweet_button: true
github_user:
github_repo_count: 0
github_show_profile_link: true
+github_skip_forks: true
# Google Plus
google_plus_one: true