Hacker News new | ask | show | jobs
by artemis73 3034 days ago
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!

1 comments

> 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

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