Remix.run Logo
liampulles 2 days ago

I wrote a Go program to generate my blog (which is just a static site hosted on Github pages). I made it so that I could write blog posts with a "widget builder" DSL, which is a good compromise for me between customizabiity for individual pages vs being able to write 95% of everything with markdown.

Example of DSL: https://github.com/liampulles/liampulles.github.io/blob/mast...

Blog post with more info, and my site: https://liampulles.com/moving-blog.html

lelanthran 2 days ago | parent | next [-]

My blog[1] is also generated from nothing but markdown, but I leaned on pandoc heavily for this: https://gist.github.com/lelanthran/2634fc2508c93a437ba5ca511...

---------------------

[1] www.lelanthran.com

liampulles 20 hours ago | parent [-]

Interesting approach, I like it!

cookiengineer a day ago | parent | prev | next [-]

Just FYI:

The meta viewport tag disallows zooming/using your website. I had to switch to Desktop mode on my Android phone to be able to read half the content that was overflowing and not visible.

liampulles 20 hours ago | parent [-]

Thanks for the feedback, I will look into this.

yboris 2 days ago | parent | prev [-]

Awesome! I'm curious if you considered Hugo and if yes, why you preferred to build your own Go website generator :)

liampulles 20 hours ago | parent [-]

I considered Hugo, but I wanted to do my own thing mainly because I'm very fussy about the raw HTML in my site, i.e. I want to use semantic HTML5 tags as much as possible. I haven't used Hugo though so I could not say how good or bad it is.