hugo install

choco install hugo -confirm

chocolatey is a package management tools for windows.

hugo new site 

create new folder in current directory

copy C:\Users\xxx\Documents\code\hugoBlog\themes\even\exampleSite.config.toml to root directory of site

cd folder

hugo new posts/file-name.md

create posts directory including file in content directory .

attention:
for some theme,

it is hugo new post/file-name.md

你可能感兴趣的:(hugo install)