Skip to content

Commit 7e048fa

Browse files
[hugo-server] Usability improvement.
As the hugo-server.sh script is to be used by all LP authors, working on drafts, simplify the handling of the draft by forcing hugo to build the site including the drafts. Publishing is only dealt with by a few people who can do what needs to be done with drafts.
1 parent 6cde4e0 commit 7e048fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hugo-server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# =============================================================================
44
# Build the hugo site static html pages.
55
# -----------------------------------------------------------------------------
6-
hugo
6+
hugo --buildDrafts
77

88
# =============================================================================
99
# Enable the home page search box.
@@ -43,4 +43,4 @@ fi
4343
# =============================================================================
4444
# Serve our local tree for interactive development.
4545
# -----------------------------------------------------------------------------
46-
hugo server
46+
hugo server --buildDrafts

0 commit comments

Comments
 (0)