diff --git a/assets/snl-script.js b/assets/snl-script.js index 9173dcb..ec4801a 100644 --- a/assets/snl-script.js +++ b/assets/snl-script.js @@ -211,7 +211,11 @@ function showDial(data){ userName.innerHTML=data.owner.name; userSM.innerHTML=''; if('social' in data){ + let count=0; for(s in data.social){ + count++; + if (count>5) //utmost 5 social links to display + break; userSM.innerHTML+= ``; } } @@ -222,7 +226,11 @@ function showDial(data){ if ("my_top_resources" in data){ userResourceContainer.classList.remove('hidden'); userResource.innerHTML=''; + let count=0; for(res in data.my_top_resources){ + count++; + if(count>3) //utmost 3 resource to display + break; userResource.innerHTML+=`
  • ${sanitize(res)}
  • `; } }else{ diff --git a/contributors/sticknologic.json b/contributors/sticknologic.json index 78ddea0..814674d 100644 --- a/contributors/sticknologic.json +++ b/contributors/sticknologic.json @@ -17,6 +17,5 @@ }, "description":"A Web/App Developer | Pixel Artist | A simple stick that want to be a champ", "use_github_avatar":true, - "custom_avatar_url":"", "display_float_text":"STICKnoLOGIC" } diff --git a/docs/index.html b/docs/index.html index a0470f4..1377312 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,7 +57,7 @@ window.$docsify = { homepage: 'readme.md', name: 'Docs - First Accord', - repo: 'https://github.com/STICKnoLOGIC/First-Accord', + repo: 'https://github.com/STICKnoLOGIC/First-Accord-Docs', loadSidebar:true, subMaxLevel: 3, alias: {