hugo builds no site if there are only drafts - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit e9b47da0814f388ba8ebbedf297dc060cb1bbef3
(DIR) parent 3e9fc47ad2f224230989f417cd6d3b78d0fc1769
(HTM) Author: Franklin Wise <franklin@krave-n.com>
Date: Sun, 10 Aug 2014 09:09:12 -0700
hugo builds no site if there are only drafts
if you run:
hugo
and all of your posts are drafts, no site gets build.
Diffstat:
M docs/content/tutorials/github_page⦠| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/docs/content/tutorials/github_pages_blog.md b/docs/content/tutorials/github_pages_blog.md
@@ -162,7 +162,7 @@ The first two items in the previous list are simply a way to conveniently previe
echo -e "\033[0;32mDeploying updates to Github...\033[0m"
- # Build the project.
+ # Build the project. (If you only have drafts, no site will be generated)
hugo
# Add changes to git.