diff --git a/_config.yml b/_config.yml index 2f7efbe..1885487 100644 --- a/_config.yml +++ b/_config.yml @@ -1 +1 @@ -theme: jekyll-theme-minimal \ No newline at end of file +theme: jekyll-theme-midnight \ No newline at end of file diff --git a/images/favicon.png b/images/favicon.png index f7048fa..afed549 100644 Binary files a/images/favicon.png and b/images/favicon.png differ diff --git a/index.html b/index.html index 9fd8630..946f0f9 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ - 2KAbhishek's Projects + fedagostino's Projects diff --git a/script.js b/script.js index a6cfcde..780fb3b 100644 --- a/script.js +++ b/script.js @@ -1,5 +1,5 @@ -const username = '2kabhishek'; -const maxPages = 2; +const username = 'fe-dagostino'; +const maxPages = 1; const repoList = document.querySelector('.repo-list'); const reposSection = document.querySelector('.repos'); const filterInput = document.querySelector('.filter-repos'); @@ -23,6 +23,7 @@ getProfile(); // display infomation from github profile const displayProfile = function (profile) { + let nb_repos = profile.public_repos - 1; const userInfo = document.querySelector('.user-info'); userInfo.innerHTML = `
@@ -36,7 +37,7 @@ const displayProfile = function (profile) {

@${profile.login} - Repos: ${profile.public_repos} + Repos: ${nb_repos} Gists: ${profile.public_gists}

@@ -69,6 +70,9 @@ getRepos(); const displayRepos = function (repos) { filterInput.classList.remove('hide'); for (const repo of repos) { + if (repo.name == 'projects') + continue; + let listItem = document.createElement('li'); listItem.classList.add('repo'); listItem.innerHTML = `