cover_image

如何將Wordpress 博客轉移到Hugo

文章目錄 在本地電腦安裝好Hugo, 選擇主題,建立Hugo 專案 從Wordpress後台導出內容,再回到本地電腦轉換成Hugo 的 Markdown 格式 將整理好的內容和Hugo部落格push 到Github 在Vercel 上連接Github repository , 並設定build 指令和 配置專屬網域 1.安裝hugo主題並啟動測試 Binary Install cd ~ wget https://github.com/gohugoio/hugo/releases/download/v0.164.0/hugo_0.164.0_linux-amd64.tar.gz #download tar -xzf hugo_0.164.0_linux-amd64.tar.gz #unzip sudo mv hugo /usr/local/bin/hugo #move to bin hugo version #check hugo versionNew Site and Add Theme cd ~ hugo new site myblog #new site by hugo cd myblog git init # git init git submodule add --depth=1 https://github.com/adityatelange/hugo-PaperMod.git themes/PaperMod #Add PaperMod theme現在, 你就可以在 hugo.toml 文件中将主題 PaperMod` 添加進去。 ...

搜尋文章

輸入標題、分類或文章內容

Plz typing to search for articles.