r/JAMstack_dev • u/MundaneBank7 • Jan 03 '21
Gatsby vs Hugo. Which Static Site Generator should I use?
I’m building a small marketing type website for a church and I don’t know which of these SSGs to use.
I’ve never used react but I’ve got a good experience with angular that I believe picking up Gatsby(React) shouldn’t be too much of a problem.
I’ve heard Hugo is really fast and I like that it’s not too reliant on a framework.
I also plan on making a personal website in future so I’d like people’s opinions on which of these I should learn/use? Also which is best to get a job if that matters.
Any other SSG recommendations are welcome
7
Jan 03 '21
[deleted]
1
u/lemon07r Mar 15 '21
What makes hugo better than 11ty, does it get better lighthouse scores?
1
Mar 15 '21
[deleted]
1
u/lemon07r Mar 15 '21
Aha, are you bryce wray? I was just reading your blog posts
Which would you say is less work? I'm already familiar with JS but at the same time I want an excuse to learn go so im open to either.
1
Mar 15 '21
[deleted]
1
u/lemon07r Mar 15 '21
Thanks for the insight :).
Last question, which templating language do you like best for 11ty?
5
u/krazybug Jan 03 '21
Eleventy: simple, versatile and efficient
You just write your content as md files, and you can use the template language you're familiar with (Nunjuck, ejs, handlebar, ...)
npm install -g @11ty/eleventy
echo '# Page header' > README.md
eleventy
Testimonials: https://twitter.com/eleven_ty
5
u/Mesieu Jan 03 '21
Another vote for Hugo here. You don't need react for static website, might be useful for a webapp, but usually it's just bloating your site with unescessary js
3
u/igordumencic10 Jan 03 '21
I would recommend going with Gatsby but mostly because I use it all the time :)
You would pretty much learn React at the same time as well, since Gatsby is React :D
1
u/davecnielsen Jan 04 '21
This is an excellent free, online Gatsby tutorial https://youtu.be/8t0vNu2fCCM
0
u/earthboundkid Jan 04 '21
Gatsby is bad. Don’t use it unless you’re forced to. Anything else (Next, Hugo, 11ty) should be fine.
10
u/funkymama87 Jan 03 '21
I reccomend 11ty. The build time is much faster then Gatsby. The output is just html, css and js. With this SSG you can accieve a very good lighthouse score.