Can I get information about my Github Gists?
I’m building a Hugo short code to fetch data from a Github API. I never realized that Hugo could build a SSG site with data content! This is great to know.
Oh yeah! I reverted my website to use Hugo because of how fast it is. Honestly, build tools probably shouldn’t be JS anymore.
I originally had a monorepo for my content, but I just figured to use some domain redirects to show the different sites.
References Used
|
|
Results of Shortcode Getting Gists
Worked out well I think! So this could show that one may build a whole ecommerce storefront with this?
2024 Update!
It turns out that getJSON
is going to be deprecated soonish, so I was able to turn the shortcode into this!
|
|
Output
Description: The Phonebook (JS style)
Is public: true
Created: April 26, 2022
Last Updated: April 26, 2022
Description: Headspace Dot CSS Animation https://codepen.io/andrewgremlich/pen/mdrPmGr
Is public: true
Created: December 5, 2020
Last Updated: December 5, 2020
Description: Advanced Search Modal for detailed data
Is public: true
Created: November 7, 2018
Last Updated: November 7, 2018
Description: Detailed Dropdown. When some dropdowns aren't just enough, here's a detailed component dropdown for those dropdown needs
Is public: true
Created: November 5, 2018
Last Updated: November 6, 2018
No description
Is public: true
Created: June 17, 2018
Last Updated: January 18, 2019
Description: This is a file that shows a formatted phone number based upon certain regular expressions to target certain areas.
Is public: true
Created: June 15, 2018
Last Updated: June 15, 2018
Description: Inheritance attempt with parent and grandparent with prototypes and objects.
Is public: true
Created: April 23, 2018
Last Updated: April 23, 2018
Description: A close implementation of client-side routing
Is public: true
Created: April 18, 2018
Last Updated: April 19, 2018
Description: The latest version of my ‘killer contract’ for web designers and developers
Is public: true
Created: June 28, 2017
Last Updated: July 1, 2017
Description: Utilizes Web Components to make an menu-drawer for mobile devices. Primarily to be used with Progressive Web Apps.
Is public: true
Created: March 3, 2017
Last Updated: March 3, 2017
Description: Shadow Dom example
Is public: true
Created: February 15, 2017
Last Updated: March 3, 2017
Description: Code to see if an array of a sudoku number set is valid.
Is public: true
Created: October 19, 2016
Last Updated: October 19, 2016