Live data from Hacker News

Jeffgeerling.com has been migrated to Hugo

jeffgeerling.com

111–120 of 253 posts

Re: Jeffgeerling.com has been migrated to Hugo

#111
I've been using Hugo for the past 3 years. Biggest lesson I learned is to just fork the theme you're using and don't use submodules. There's no rush in keeping your theme up to date. Also you have complete control over the theme when its forked. I've only had stuff break on occasion when updating to a newer version of Hugo, had to change a couple things with the theme which did not take too long to fix. Curious to see how comments will be implemented though. Does not sound straightforward to add to a SSG.

Re: Jeffgeerling.com has been migrated to Hugo

#112
post #37

Earlier quoted context omitted.

Yeah I feel like Claude Code is basically tailor made for a use-case like this. Where: * I have forked some public repository that has kept up with upstream (IE; lots of example code to draw from) * Upstream is publishing documentation on what's changing * The errors are somewhat google-able * Can be done in a VM and thrown away * Limited attack surface anyway. I think you're downvoted because the comment comes acros…

> handwavy Yep. I missed the mark. OP seemed down and out about their blog being broken. So I was trying to put the idea across as not something to be afraid of. I should’ve just said it - LLMs are perfect for this use case.

By OP do you mean the parent?

I am the parent, and I am indeed down about it. :P

It's a fair fix today like I mentioned, but back when it happened it wasn't available, and anyway, as I mentioned it shouldn't have been necessary.

Re: Jeffgeerling.com has been migrated to Hugo

#113
Tried to migrate to Hugo from Jekyll multiple times and have bounced off every time. Don't really know Go very well, but better than Ruby, and used this as justification -- since dealing with Jekyll updates was sometimes a headache (I use GitHub Pages for free hosting and let them build things for me when I push updates).

Instead I eventually just created an environment in nix that had compatible dependency versions to what GitHub uses and have been pleased since.

Re: Jeffgeerling.com has been migrated to Hugo

#114
post #34

A few years ago, I decided to migrate my personal website to a Common Lisp (CL) based static site generator that I wrote myself. In hindsight, it is one of the best decisions I have made for my website. It started out at around 850 lines of code and has gradually grown to roughly 1500 lines. It handles statically rendering blog posts, arbitrary pages, a guestbook, comment pages, tag listings, per tag RSS feeds, a con…

Only problem I find with self-hosted blogs and certain personalities like mine is that I spend more time tinkering with the blog engine than actually blogging.

I ended up migrating back to a hosted solution explicitly because it doesn't allow me such control, so the only thing I can do is write instead of endlessly tinkering with the site.

Re: Jeffgeerling.com has been migrated to Hugo

#115
post #34

A few years ago, I decided to migrate my personal website to a Common Lisp (CL) based static site generator that I wrote myself. In hindsight, it is one of the best decisions I have made for my website. It started out at around 850 lines of code and has gradually grown to roughly 1500 lines. It handles statically rendering blog posts, arbitrary pages, a guestbook, comment pages, tag listings, per tag RSS feeds, a con…

Only problem I find with self-hosted blogs and certain personalities like mine is that I spend more time tinkering with the blog engine than actually blogging. I ended up migrating back to a hosted solution explicitly because it doesn't allow me such control, so the only thing I can do is write instead of endlessly tinkering with the site.

> I spend more time tinkering with the blog engine than actually blogging.

You should write a blog about it, like geerlingguy did.

Re: Jeffgeerling.com has been migrated to Hugo

#116
A long while ago I wrote a very simple static site generator for personal site, mainly just to play around with using GitHub/Cloudflare pages to host my personal site.

Then a couple of months ago I started comparing the big SSG tools after wanting something a bit less held together with duct tape... after a lot of experimenting I settled on 11ty at the time, but I really don't enjoy writing Liquid templates, and writing reusable components using Liquid felt very clumsy. I just wish it was much easier to use the JSX based templates with 11ty, but every step of the way feels like I'm working against the "proper" way to do things.

So over Christmas holiday I been playing around with NextJS SSG, and while it does basically everything I want (with some complicated caveats) I also can't help feel like I'm trying to use a oil rig to make a pilot hole when a drill would do just fine...

Anyone got any recommendations on something somewhere in between 11ty and NextJS? I'd love something that's structured similar to 11ty, but using JSX with SSG that then gets hydrated into full blown client side components.

The other thing I've been meaning to try is going back to something custom again, but built on top of something like Tempest [1] to do most the heavy lifting of generating static pages, but obviously that wouldn't help at all with client side components.

[1]: https://tempestphp.com

Re: Jeffgeerling.com has been migrated to Hugo

#117
post #52

I think this is silly, and it's a hill I'm willing to die on. I wrote this in a comment yesterday, and Jeff has fully confirmed/vindicated this in his post: SSGs are good for static sites with no interactivity or feedback. If you want interactivity or feedback, someone (you or a 3rd party service provider) is going to have to run a server. If you're running a server anyway, it seems trivial to serve content dynamical…

I started writing a blog engine back when I was in college. I've been working on it ever since, and it's let me implement and play with cool web features. I implemented Markdown over 10 years ago, and I don't regret it. The Markdown is converted to HTML once on save.

It's supported RSS since practically the beginning, and RSS later served as a foundation for a backup and restore system. A few years ago, I implemented SSG functionality (exports html, css, images, etc in a zip).

https://github.com/theandrewbailey/gram

Re: Jeffgeerling.com has been migrated to Hugo

#118
post #63
post #52

I think this is silly, and it's a hill I'm willing to die on. I wrote this in a comment yesterday, and Jeff has fully confirmed/vindicated this in his post: SSGs are good for static sites with no interactivity or feedback. If you want interactivity or feedback, someone (you or a 3rd party service provider) is going to have to run a server. If you're running a server anyway, it seems trivial to serve content dynamical…

> SSGs are good for static sites with no interactivity or feedback. If you want interactivity or feedback, someone (you or a 3rd party service provider) is going to have to run a server. For my website, I do both. Static HTML pages are generated with a static site generator. Comments are accepted using a server-side program I have written using Common Lisp and Hunchentoot.

How did you get to that position? Did you have to create the server side components to solve the SSG comments problem...?

Re: Jeffgeerling.com has been migrated to Hugo

#119
post #85
post #52

I think this is silly, and it's a hill I'm willing to die on. I wrote this in a comment yesterday, and Jeff has fully confirmed/vindicated this in his post: SSGs are good for static sites with no interactivity or feedback. If you want interactivity or feedback, someone (you or a 3rd party service provider) is going to have to run a server. If you're running a server anyway, it seems trivial to serve content dynamical…

I converted my site to an SSG site and have never regretted it. Then again, I find that the less interactivity, the better.

I think you're the tiny minority of people who have a bright future ahead with SSGs.

Anyone who wants/needs interactivity is digging themselves into a hole.

Re: Jeffgeerling.com has been migrated to Hugo

#120
post #52

I think this is silly, and it's a hill I'm willing to die on. I wrote this in a comment yesterday, and Jeff has fully confirmed/vindicated this in his post: SSGs are good for static sites with no interactivity or feedback. If you want interactivity or feedback, someone (you or a 3rd party service provider) is going to have to run a server. If you're running a server anyway, it seems trivial to serve content dynamical…

Yes, SSGs are like a one-way street. Once you drive into one it is very hard to back out and make your website more dynamic.

However, some people like building websites and are fine with that. Plus, it allows you to write another blog post :)

Post reply on HN