2026/01/30

2026/01/30


今天经过筛选终于定了一个theme:hugo-geekblog

这个theme整体来讲还是非常简约的。

要开始写作就要选择一个低摩擦的方式开始。


项目编译报错了

> hugo --minify --gc
Start building sites …
hugo v0.155.0+extended+withdeploy darwin/arm64 BuildDate=2026-01-28T16:28:23Z VendorInfo=Homebrew

Total in 137 ms
ERROR error building site: render: [en v1.0.0 guest] failed to render pages: failed to process "/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error599457041:60:78": expected colon character after object key on line 60 and column 78
    7:       "url": "https://wangjianchao.cn/",""""
                                                 ^
failed to process "/post/2026-01-30/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error1027654960:88:42": expected colon character after object key on line 88 and column 42
   10:       "wordCount" : "4",
             ^
failed to process "/archive/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error658408435:72:42": expected colon character after object key on line 72 and column 42
   10:       "wordCount" : "0",
             ^
failed to process "/about/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error444301179:72:42": expected colon character after object key on line 72 and column 42
   10:       "wordCount" : "1",
             ^
failed to process "/post/2026/01/29/hello-world/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error2439469320:94:42": expected colon character after object key on line 94 and column 42
   10:       "wordCount" : "6",
             ^
failed to process "/search/placeholder/index.html": "/var/folders/_d/lcmz95pj6d933qxppydbsb700000gn/T/hugo-transform-error4097204206:64:70": expected colon character after object key on line 64 and column 70
    8:       "headline": "Placeholder",""""
                                         ^