DEV Community

Discussion on: How did I make my blog with Hugo and Github Pages?

Collapse
 
aregaz profile image
Illia Ratkevych

I was thinking about starting a blog and use Hugo for that as well. I have a couple of questions if you don't mind:

  • hosting a blog in Github Pages requires having a public repo, right? So everybody can see the internals of your site. Does it bring any security issues? Or, since it is all static, it does not matter?
  • how wide is the variety of free themes? Would I have options to pick from? Or the selection of free themes for Hugo is limited?
  • does it have RSS?

And a couple of recommendations:

  • try to change the background color from black to some kind of grey or brownish. Just black is too dark. See the image with an example background.
  • consider adding comments to your site so readers can comment not only here but directly on your site. I think Disqus or its alternatives should work with static sites.

And thanks for sharing. I think adding a new blog is beneficial for the dev community in general and is an interesting thing to do personally.

Collapse
 
gdlazcano profile image
Gabriel Lazcano

Yeah, you need to have your repo public for a Github Page to work. As I am using the Github Actions for this I am not sure if you can set your code to be private and build to another public repository. The only repository that has to be public is the one that has the index.html that would be the built page. And yes, I believe it doesn't matter because it is static. Either way they are getting all the content from the page. There is a variety of themes to choose and some are real good. If you want to stand I think you will have to move some things but it's a good place to start. It has a predefined way of building the RSS but you can customize it too.
Thanks for the feedback, I was looking forward to implement a commenting section but not using Disqus because it's too taxing. I want it to host my own with Commento. I might do a blog about it. But currently I don't get any revenue nor have a job to cover the expenses.