Change blog comment system to utterances

1 Why utterances? I tried Disqus, but it looks a bit garish. I looked through comment systems supported by LoveIt theme. telegram: require initial authorization using SMS and it did not work well valine: requires certification number (issued in China) I choose utterances looks to simple user interface. That supports github account access and utilize github issue for comment system. 2 Setup utterances Create new github repository (in my case, tatoflam/tatos-note-for-utterances as public repo.

Add Disqus comment system to hugo site

1 Setup account Go to disqus.com and create account e-mail verification At disqus.com/home, go to cog mark > “Add Disqus to site” > “Install Disqus” Select plan > Basic Install Disqus > “I don’t see my platform listed, install manually with Universal Code”. See tutorial video Check embed code and java script link (option for counting comment) Check document about Use configuration variables to avoid thread and missing comment Configure Website name Category (e.

Full text search in hugo website

I wanted to embed full text search in this web site as content has increased a bit, and sometime I need to dig into the key word. I tried two different ways: Algolia Saas (Search as a service) Commercial, but satisfactory free plan high performance and low bandwidth, but need to synchronize index.json and limit for contentLength Lunr JavaScript library simple, no need to synchronize index.

How to use Google Search Console

1 What’s Google search console? Google search console enables: Get content on Google search engine Analyze site’s impressions, clicks, and position on Google Search Alert on issue about Google identified issue Suggest how Google search see the pages 2 Register Go to search console and “start now” Enter domain(e.g. hommalab.io) and continue Search Console provides a value to register DNS TXT record for verification (like google-site-verification=xxxxxxxxxxxxxxxxxxxxxxxxxx) Go to DNS and register TXT record to domain.

Node.js HTTP server examples

Before making an Node.js application using express.js package, tried to make simple http server examples without the package. It was fine to check what happens under the hood in server side JS. 1 Simple server Simple server using http.createServer(request, response) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 const port = 3000, http = require("http"), httpStatus = require("http-status-codes"), app = http.