Why Hugo?

To forget jekyll, perhaps
To simplify installation progress on Windows. Obviously tired of MSYS2 ruby c++ compile then jekyll.
To simplify deployment steps on cloud workers: single binary contains all functionability.

Any Difference?

Maybe. but I just focus on writing markdown. Those jekyll theme hacks and html small games all thrown to /dev/null. lone live the markdown ww

Your Solution?

  1. since GitHub private account cannot publish pages without subscription, I choose to link Cloudflare App to my repo .
  2. cloudflare pages build worker defaults to a very old hugo, incompatible with my previous theme PaperMod . after trying reimu and finallytailwind , I foundthis section , right below deployment guides. So at last gave up and just use hugo v0.143.1+extended use HUGO_VERSION = 0.143.1, the same as hugo on my windows.
  3. OK after tweaking this and retry-deploy several times, my website is online again, published on https://misaka4a92.pages.dev/

Your Feelings

  • no msys2. very good! also no nodejs, just single binary about 20MiB perfect!
  • security in mind. however, might be limited on extensibility, no extensions, based on go not interpreted language
    • there even exist magics to let hugo run libwebp compiled to wasm using go-wazero runtime
    • so might be hard to deploy page encryption, etc. running wasm might be a good alternative approach but this feature is not merged to upstream.
  • I need more neko to play with, to create more more RBQs
  • git add --all
  • git commit --allow-empty-message --amend -m ''
  • git push -f
Will use SOCKS 5 proxy at localhost:3128 to connect to github.com:22
Looking up host "localhost" for proxy
Connecting to SOCKS 5 proxy at ::1 port 3128
Enumerating objects: 48, done.
Counting objects: 100% (48/48), done.
Delta compression using up to 6 threads
Compressing objects: 100% (41/41), done.
Writing objects: 100% (48/48), 8.07 MiB | 1.09 MiB/s, done.
Total 48 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
To github.com:NekoRBQ/NekoRBQ.github.io.git
 + 421dba1...54a2b70 main -> main (forced update)