Hello,
I’m having what might seem like a simple issue but there must be something which I’m overseeing and for the life of me I can’t figure out how to search for the right guidance.
What I’m trying to do is simply get the raw text which can be found in a github gist and store it in a variable in hugo. The gist contains only one number, that’s it.
Say this is the gist: https://gist.githubusercontent.com/bogdanbacila/c5a9683089c74d613ad17cdedc08f56b/raw
That number gets updated externally, and I want to be able to convert that number to what would look like a progress bar on my website. I don’t want to display the gist as an embedded text, I just need to store that number somehow and then use it in the website. I need to mention that this number changes multiple times a day so this should be reflected on page refresh.
If you need any additional clarification or info or if I’m thinking about this the wrong way please let me know, I’m open to suggestions and feedback.
Best,
Bogdan