HUGO - 如何更換主題 (測試機)
Published in:2023-05-20 | category: HUGO


Hugo 更換主題紀錄



建立新的 hugo site



hugo new site hugo-beautifulhugo


Clone 主題至新的 Site



cd hugo-beautifulhugo

git clone https://github.com/halogenica/beautifulhugo.git themes/beautifulhugo


將該主題需要的設定檔複製到新的 site



cp -r themes/beautifulhugo/exampleSite/* . -iv


將舊主題的筆記移到新主題裡



cd themes/hugo-terminal/content/posts

cp -r ../../../../themes/hugo-FixIt/content/posts/* .


背景啟動 hugo



nohup hugo -D server -b 172.16.0.222 --bind="0.0.0.0" --theme=$THEME --disableFastRender -e production &


Prev:
HUGO - error: hugo: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (測試機)
Next:
GCP - gcloud config 設定配置使用