Live data from Hacker News

Ask HN: What's a good static site generator to use for a blog in 2018?

news.ycombinator.com

121–129 of 129 posts

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#121
post #46

I use Hugo too for https://apporchestra.com I have it in a GitLab repository with the continuous integration script configured to build and deploy it to Google app engine (configured as a static content so no paid instances are running) each time I push a commit.

Yeah, I'm curious about the GAE aspect as well. Why have you chosen that over something like Netlify? Any particular shortcomings I'm missing?

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#122
post #13

I used Github Pages which are Jekyll sites hosted by Github, which is sufficient for my needs and has a wealth of online documentation. If it's for blogging, you can also take a look at Blogger, half the programming & security blogs I follow are on it.

Not a huge fan of Blogger. There have been quite a few instances that I've linked to below where Google has taken down blogs for no apparent reason. I don't want to give someone else control over my content.

https://www.vox.com/2016/7/30/12303070/dennis-cooper-blog-de...

https://www.theguardian.com/music/2010/feb/11/google-deletes...

http://www.nydailynews.com/news/national/artist-loses-14-yea...

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#123

Have a look at https://cuttlebelle.com It was specifically built to help non technical people edit and compose pages. (which is not you :) )

Looks pretty slick! Unfortunately, I'm unfamiliar with React. Nevertheless, I'll definitely consider trying it out once I give React a shot. Thank you!

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#125

If you prefer Vue over React there is also https://nuxtjs.org/ which I found nice to work with.

This is pretty cool! I've just started picking up the basics of Vue. I'll give this a shot once I'm more familiar with it. Thank you! :)

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#127
post #107

Earlier quoted context omitted.

> You're using the base16 theme for the first one, correct? Yup. > I liked the second one as well. What theme is that? [...] Also, you've mentioned in the sidebar that you've built it using Grav and Hugo. The theme is a Grav theme, ported to Hugo[1] (hence the "made with Grav and Hugo" -- the actual site is made with just Hugo). The source for the site is [2]. And the source for my other sites are here[3,4]. [1]: htt…

That's awesome, thank you very much! Checking those links out now. How difficult is it to port a Grav theme over to Hugo?

I have no idea (someone else did the port), but after looking at the two theme sources[1,2] I'm pretty sure it's non-trivial but not nearly as bad as writing a new one. They both have the same concepts (partials, templates) but the languages are quite different.

[1]: https://github.com/matcornic/hugo-theme-learn [2]: https://github.com/getgrav/grav-learn

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#128

Hugo is good, but you will need some technical expertise to customize it, unless you use a stock theme/template. GitHub pages is also a great way to get started quickly - Markdown is easy to learn and there are several cheat sheets out there. What I did in the end is created my own very simple site generator (calling it that is probably being over generous) - it lacks many features of a full-blown generator like Hugo…

Hugo seems okay to me. Not that complicated so far. Yeah, it's a bit opinionated which kinda irks me sometimes coming from something like Jinja templating. Do you have your SSG up somewhere on GitHub? I'd like to give it a look. Seems to be a cool idea. Thank you for telling me about neocities. Wasn't aware of that!

Check my HN profile. From there you can find my GitHub (see the repo Website-Test that has everything), feel free to use my code if you so wish!

Oh I really like neocities. You can sign up for pro membership and have custom domains and so on but I've not needed that so far - I may do at some point though.

All the best!

Re: Ask HN: What's a good static site generator to use for a blog in 2018?

#129
post #38

I'm very happy with using pelican for my blog: https://startuplab.io/blog It's very flexible, written in python, easy to customize, has plugins for any purpose. It supports markdown, latex, code snippets (with syntax highlighting). It's very simple to set up and you can use it for any purpose. I've made a custom theme, configured it a bit, and served it with nginx on digital ocean(but you could also host it for free…

Thank you so much! I'll keep these points in mind while settings things up. I almost forgot about commenting. isso will need a server component to do what it does and I'm planning on hosting it on something like github pages. But then, I don't like Disqus myself. Can't imagine forcing someone else to use it. I'll think about it. Thanks for bringing this up and for everything as well!

Maybe you'd like to have a look at Talkyard's embedded comments: https://www.talkyard.io/blog-comments — it doesn't require a server, if you use the hosted version. It's also open source like Isso, no ads or tracking. (I'm developing it.)
Post reply on HN