“But? Wait?” I can hear you saying, “Isn’t grumpygamer.com a static site built by Hugo? What dark magic did you use to get comments on the static site?”
No dark magic. But it does involve a small php script.
You can embed php in a hugo page and since grumpygamer.com is hosted on my server and it’s running php it wasn’t that hard.
No tricky javascript and since it’s all hosted by me, no privacy issues. All your comments stay on my server and don’t feed Big Comment.
Comments are stored in flat files so no pesky SQL databases. It only took me about a day, so all in all not bad.
I may regret this.
I’m only turned on comments for future posts.
Be nice!
P.S. I will post the code and a small guide in a few days, so you too can invite the masses to critic and criticize your every word. Good times.
Comments:
Recently, I read some Thimbleweed Park dev diaries (playing the game AGAIN atm). It was nice to see the interaction between you and the users in the comments.
😂😂😂 Yeah dot .. yeah you might 🙂
If the internet is consistent in one regard, it's this one 😬
Add comment: