News for hackers. Stuff that matters.
Re:Astro 1.0 – a web framework for building fast, content-fo... by game-of-throws on Tuesday August 09, 2022 @03:06PM (#32402501)
Use any SSG not written in javascript and you'll be fine. Hugo, Zola, Jekyll, etc. Though if I was starting from scratch I might avoid Jekyll just because of the Ruby dependency.
Re:Astro 1.0 – a web framework for building fast, content-fo... by gglitch on Tuesday August 09, 2022 @06:52PM (#32405624)
Honest q: what’s the problem with Ruby? Compile time? Gem management? I’m using Jekyll and sometimes wonder if I’m missing anything from the newer systems. My compile time is negligible, and once I figured out how to integrate Tailwind, I’ve had no issues.
Re:Astro 1.0 – a web framework for building fast, content-fo... by salmo on Tuesday August 09, 2022 @07:15PM (#32405868)
I’ve used Sphinx, mkdocs, Jekyll, and Hugo.

I don’t see a reason to switch a site from one to the other if you and any collaborators are comfortable maintaining the runtime. The same goes for JS based tooling (I imagine), I just don’t node so good.

Personally, I use Hugo for new projects because it lowers the burden for content collaboration.

Templating is weird in Go, though if you’re working on themes. I like it now, but it’s procedural vertically and LISPish horizontally, if that makes any sense.

Usually it’s just me or me and another guy messing with that, and others often unfamiliar with anything except Java contributing vanilla markdown documentation. “Clone the repo, run this binary” is helpful there.

Re:Astro 1.0 – a web framework for building fast, content-fo... by game-of-throws on Tuesday August 09, 2022 @11:38PM (#32407627)
Personal preference mostly. rvm/gem/bundle is just a lot to set up and keep in your head compared to running a statically-linked binary. It feels like a relic of a previous era. Plus compiled languages are faster, and massively easier to set up if you have contributors running Windows.

But like sibling said, if you're happy with your setup, keep it.

Re:Astro 1.0 – a web framework for building fast, content-fo... by root_axis on Tuesday August 09, 2022 @03:26PM (#32402856)
> Use any SSG not written in javascript and you'll be fine.

Commonly stated but not actually true. For example:

https://github.com/getzola/zola/blob/master/Cargo.lock

https://github.com/gohugoio/hugo (scroll to the bottom of the README)

Re:Astro 1.0 – a web framework for building fast, content-fo... by IceWreck on Tuesday August 09, 2022 @04:06PM (#32403521)
You don't need these deps to install it, just to compile it.
Re:Astro 1.0 – a web framework for building fast, content-fo... by skrtskrt on Tuesday August 09, 2022 @03:41PM (#32403136)
Yeah Hugo has the advantage that dep management for Go is 10000x simpler than JS, Ruby, Python, etc., particularly when you are someone who doesn't work in that language regularly.

Plus as sibling comment says you usually don't do anything but install hugo, `hugo [command]`

Re:Astro 1.0 – a web framework for building fast, content-fo... by weego on Tuesday August 09, 2022 @03:40PM (#32403110)
To be fair in every day use Hugo is a single very portable binary
Re:Astro 1.0 – a web framework for building fast, content-fo... by procombo on Tuesday August 09, 2022 @04:52PM (#32404129)
This. Makes everything so smooth. Serverless cloud providers love it too. (Cloudflare Pages, etc.)
Re:Astro 1.0 – a web framework for building fast, content-fo... by game-of-throws on Tuesday August 09, 2022 @11:39PM (#32407632)
If that scares you, you must be terrified of modern Linux distros.