
How to transfer a WordPress blog to Hugo
Article directory Install Hugo on your local computer, select a theme, and create a Hugo project Export the content from the WordPress backend, and then return to the local computer to convert it into Hugo’s Markdown format. Push the organized content and Hugo blog to Github Connect the Github repository on Vercel and set the build command and Configure a dedicated domain 1. Install hugo theme and start testing 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 themeNow, you can add it in hugo.toml 文件中将主題 PaperMod`. ...