DEV Community

If you are starting a new website, consider using Hugo

Silvestar Bistrović on October 24, 2018

This post was originally published on silvestar.codes. If you are starting a new website, consider using Hugo. Other than it is “the world’s fas...
Collapse
 
starbist profile image
Silvestar Bistrović

Sadly, it is also a self-fulfilling prophecy: If you only go where other people already are, you will not help the other communities to grow.

Could you explain this?

Collapse
 
rhymes profile image
rhymes

If you use the popular tool you won't use the others which means the popular tool will become more popular and attract more people, which in turns it makes it become more popular and so on :D

Thread Thread
 
starbist profile image
Silvestar Bistrović

I see. Thank you for the clarification.

Hugo is popular, you are right. But it is also great, in my opinion.
Maybe it is popular because it is great. :D

Collapse
 
starbist profile image
Silvestar Bistrović

What do you mean?
You could use Netlify to deploy the website to production, if that is what you srw referring to.

Collapse
 
bauripalash profile image
Palash Bauri 👻

Sadly, it is also a self-fulfilling prophecy: If you only go where other people already are, you will not help the other communities to grow. :-)

I Totally Agree with you.

Who knows, there might be an awesome Static Site Generator out there in a GitHub Repo with only a Single Star

 
starbist profile image
Silvestar Bistrović

Wow, that is a great list.

I already heard about Pelican and Grav, and they are pretty popular, according to the number of stars. They were brought to my attention by the Lobster community, but I haven't had time to explore it yet. I never heard of Coleslaw.

I am already familiar with Jekyll, Hexo, and Middleman, and I even wrote an overview about them:
dev.to/starbist/overview-of-popula...

Thank you for bringing the attention to other frameworks, too.

 
starbist profile image
Silvestar Bistrović

You could set up Hugo to work on GitHub pages, too:
gohugo.io/hosting-and-deployment/h...

Collapse
 
devhead profile image
dev-head

Looks interesting for personal projects; thanks for the highlight.

Professionally, I stay away from static site gens because managing them at scale can be a real nightmare. Just be sure you choose it for the right reasons; would be my advice to others looking into it.

Collapse
 
starbist profile image
Silvestar Bistrović

At what scale are we talking about here?

I wouldn't rule out static page generators for bigger projects. It doesn't have to be a problem to maintain the website if the structure is well organized. I am part of the two separate projects that are not simple, and maintenance is not a nightmare at all. :)

 
starbist profile image
Silvestar Bistrović

Okay, I understand your point of view.

Could you provide some useful links to frameworks you mentioned? Or could you write what is so great about it?

 
rhymes profile image
rhymes

Hugo is popular, you are right. But it is also great, in my opinion.

Sure, that's the best combination :D

Thread Thread
 
starbist profile image
Silvestar Bistrović

Right? 🤐

Collapse
 
adnanrahic profile image
Adnan Rahić

I love Hugo! Making a PWA with an above 95 Lighthouse score is surprisingly easy. Even for someone like me, who's not a front-end engineer. :)

Collapse
 
starbist profile image
Silvestar Bistrović

I am glad you like it.

 
starbist profile image
Silvestar Bistrović

Well, you could set up A/B testing, custom hooks, branch deploys, handle form sumbissions, and many more. And all that for free!
Netlify is awesome.

 
starbist profile image
Silvestar Bistrović

I hear you, but I don' get it.
If you set up Netlify, then you could configure a trigger to start a new build on every push.
👍