Hugo

README

hugo基本操作 hugo创建新的markdown格式文档 进入到新建hugo目录下: chenxinsideMacBook-Pro:site chenxinsi$ hugo new post/README.md 生成的README.md文件将放在content/post文件夹下 发布新建的markdown文档 hugo undraft content/post/README.md hugo生成对应的post/index.html文件 chenxinsideMacBook-Pro:site chenxinsi$ hugo Started building sites ... Built site for language en: 0 of 1 draft rendered 0 future content 0 expired content 5 regular pages created 12 other pages created 0 non-page files copied 1 paginator pages created 1 tags created 1 topics created total in 16 ms 然后进入到public/post目录下,可以看到: chenxinsideMacBook-Pro:post chenxinsi$ ls first index.