RE: https://fosstodon.org/@gohugoio/116240284019632210

I'm excited about this release. The css builder makes my code a lot more elegant! Just look at the before and after 👌

#hugo #ssg

@pawelgrzybek Is it possible to write CSS inside partial layout files in Hugo?
@ingenieur Totally, Hugo is super flexible. Comes with a little learning curve but when you embrace the Hugo way, you can do a lot!
@pawelgrzybek Surely! I wanted to move to Hugo from Astro but I wrote quite a lot of custom things in Astro, where I'm not sure if I could refactor in Hugo. Scoped styles, client-side reactivity etc. Speed is for sure impressive in Hugo though.
@ingenieur if it works in Astro, do not refactor anything. Astro is incredible. Write a blog post instead.
@pawelgrzybek haha fair enough 😅
@ingenieur @pawelgrzybek why do you want to move? I’m considering Astro and 11ty for a web page. Would be cool to know what are the possible downsides.

@arturkot @pawelgrzybek One thing is I‘m very curious about Hugo because of Go. You don‘t write any Go code if you make a static website anyway, but wanted to go down the rabbit hole.

Second, Cloudflare bought Astro recently and it stays open-source and all, but I have an ick about these kind of acquisitions.

But: Astro is amazing and it is IMO the most natural in terms of mental model when you are building a website. Components and Island Architecture is very well executed.

@ingenieur @arturkot I'm with you on the Astro acquisition by CF.

My website is using Hugo, and I write Go professionally. I'm afraid that you won't have a chance to work a lot with Go while building a website using Hugo, other than a some templating work. If you want to learn Go, I would advice starting differently.

Yes, Astros abstraction layer is just perfect, I also love it!

@pawelgrzybek @arturkot No, no. I am writing Go at the moment for another project. But that‘s not my professional job. Hugo seemed attractive just because it is also written in Go.

In my current Astro site I have some small node programs that is running during the build process and I thought since I‘m writing/learning Go, I could then move to Hugo and rewrite these again in Go. Totally for learning purposes.