Static Site using Hugo

Install Hugo # macos brew install hugo # windows using scoop scoop install hugo New Post hugo new content/posts/name.md Hugo will use archetypes/default.md to generate the front matter. If the post name contains spaces, escape the spaces or use a file name without spaces. Update Theme If the theme is managed by git submodule: git submodule update --init --recursive Deploy to Middleware hugo --minify Then, upload files in the public folder to middleware folder(eg. html folder in nginx) ...

March 17, 2021 · 1 min · 84 words · Jiang Jun Jie