News for hackers. Stuff that matters.
Re:Ask HN: What's a good static site generator to use for a ... by artemis73 on Friday March 02, 2018 @05:54AM (#16500514)
You're using the base16 theme for the first one, correct? Looks nice. 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. Would you mind explaining how you've used both? And why perhaps? Just curious because someone here suggested Grav over Hugo and you seem to be using both.

I could make one with Django (overkill, I know) as I primarily work with it but I don't have a VPS set up yet and I don't think I'm going to attempt to get one anytime soon. The main reason why I wanted a static site is to not deal with configuring and maintaining the server. Thank you!

Re:Ask HN: What's a good static site generator to use for a ... by cyphar on Friday March 02, 2018 @05:47PM (#16506476)
> 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]: https://github.com/matcornic/hugo-theme-learn [2]: https://github.com/openSUSE/umoci/tree/b9e256550d732c14beeab... [3]: https://github.com/cyphar/rootlesscontaine.rs [4]: https://github.com/cyphar/cyphar.com

Re:Ask HN: What's a good static site generator to use for a ... by artemis73 on Sunday March 04, 2018 @10:47PM (#16518599)
That's awesome, thank you very much! Checking those links out now. How difficult is it to port a Grav theme over to Hugo?
Re:Ask HN: What's a good static site generator to use for a ... by cyphar on Monday March 05, 2018 @02:42AM (#16519435)
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