new command create new
Assets are bundled in
PuGo. Just it can create new site without any downloads:
pugo new site
It extracts common defaults, starting posts and pages in
source and three themes in
theme directory in current directory.
pugo new site --doc
--doc flag, it extracts
doc directory that contains all documentation data. The data is ready to compile to document website. Read Doc command to get more help.
Create new post without title:
pugo new post
Default post markdown file is created in
Try with post title:
pugo new post "this is new post"
Now the file is
Same usage to
pugo new page pugo new page "this is new page"