Skip to content
loading...

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... [Read Full]
markdown guide
 

Hugo has a great community.

This is probably the only relevant advantage compared to my other favorites Pelican (awesome themes), Coleslaw (awesome programming language), Grav (a better Typo3 in my opinion) and BlogC++ (which is mine). 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. :-)

 

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?

 

Advertising the de-facto leading static blog generator (assuming that Jekyll is only second today which I don't know for sure) will automatically attract more people to it and does not make much sense in my opinion, for the same reason why advertising for Coca-Cola does not: probably everyone interested in such things already knows that.

What I mean is that it could be more of a gain for everyone to spend more time with the other alternatives. Most of them have most of Hugo's advantages, minus the large community. All of us can change that any day. :-)

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?

Well, the staticsitegenerators list linked above is a good starting point. Greatness is highly subjective though, as everyone has different needs. I even have a bashblog in one of my projects because I needed something really simple.

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.

I never heard of Coleslaw.

You should try it. I wrote two plugins for it. :-)

edit: Yup, we talked about Pelican there.

 

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

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

Or because nobody looks out for probably even better alternatives. Good enough is the worst enemy of good.

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

Sure, that's the best combination :D

 

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

 

You have forgotten to mention that unlike Jekyll I would also need my own server.

 

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

 

I mean with Jekyll I do git push to my ghpages and that’s it.

You don’t hear me. OK, I don’t need to get a server, I need to dance around my content.

With Jekyll I do git push to publish my new blog post.

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.
👍

Why would I though? It perfectly works without any 3rd parties and it takes 10 seconds to get published. I can live with that delay.

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.

 

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.

 

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. :)

 

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. :)

 
code of conduct - report abuse