Attempting to Learn Go - Ghost to Hugo 3

Intro We’re back once again to continue our work on the ghost2hugo prototype. So far we can open the JSON file, load the data into memory, and print out the Markdown for the first post. The next step is to make sure we can read and process every post included in the backup. Looping We’re going to replace all the code that prints a single article with a loop that prints out each article. …

Posted on

Attempting to Learn Go - Ghost to Hugo 2

Intro Welcome back! We are continuing on our journey to make a prototype program that converts an exported Ghost database to Markdown. With the end goal being that we can get shindakun.net up and running with Hugo. Last time, we took it pretty easy and focused mostly on reading the file into memory and converting the JSON to a Go struct. From there we printed out the first post. Post Data As a recap here is what one of the post fields contain. …

Posted on

Attempting to Learn Go - Ghost to Hugo 1

Intro You probably don’t know this but shindakun.net has been effectively offline now for months. Currently, visiting it will only show a white page and a pop-up, no content is accessible. This is a side effect to my upgrading to a new server and moving away from Ghost as my platform of choice. I love(d) Ghost but it just got too large to effectively run multiple sites on a small instance on Digital Ocean. …

Posted on