I am wondering if anyone can confirm if I am able to use the github api in Jekyll to populate a page with my pinned repos. The purpose is to display my pinned repos on something like a project page, to display what I have been working on.
Jekyll is a static site generator. What this means is that when you execute a Jekyll build, it creates HTML files that do not change until you run another Jekyll build. So, yes, you can query the GitHub API during the Jekyll build process to create an HTML page that contains your pinned repositories. But once that build process is complete, that list will not change until you run the build process again.
Let us know if you have more questions.
This would be fine I think as ill keep updating the post section, so can always build or re build when I have a new project.
Question is now...how can I do it :D
You can write a simple Jekyll plugin like this one that I use to generate a dynamic copyright year. You would use octokit to grab the information you want and then format the output however you wish.
I hope that helps.