hugo install
2018-04-05 本文已影响0人
LFBuildMountain
choco install hugo -confirm
chocolatey is a package management tools for windows.
hugo new site <site-name>
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