▲ 7 r/gohugo+1 crossposts

I added a Hugo site import to my open source publishing platform

I've just added the importing of an entire Hugo site to Masthead, which I've built with Elixir and Phoenix. It still respects the frontmatter with draft states too, and it derives slugs automatically, the creation date and automatically uploads the images and such to the s3 bucket as an "Upload" as I call them in the platform.

The only thing that doesn't currently work is the theme, cause the way I do themes (liquid templates) and the way Hugo does themes needs quite a bit of translation, and theres a theme marketplace anyways. Content is the most important aspect of these sites IMO

Honestly the main reason I even built the platform was for my personal blog, and I was too lazy to copy and paste the files one by one. It's open source and completely free to use!

u/FulltimeWestFrieser — 10 days ago
▲ 39 r/elixir+4 crossposts

I built a hosted open source Hugo alternative in Elixir

Over the last few months I created Masthead, which is a hosted alternative to Hugo, completely free and open source.

It started cause I wanted to make some changes to my blog on my worklaptop and gaming pc and didn’t wanna setup git with everything, and it felt like something cool, that kinda escalated because I wanted to add more and more things to my blog.

The theme system is very cool, it uses liquid templates and can be uploaded via the interface. In a manifest.json file you can define tokens which are exposed to the liquid. These tokens can be customized by the user via the interface of the theme editor.

Also I support custom domains using fly’s implementation, but that was a lot of fun.

Some example sites I made with it:
joeridijkstra.dev
dijkstrasoftware.nl

Would love to get some feedback on it!

masthead.site
u/FulltimeWestFrieser — 2 months ago