-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use hugo 0.110.0. Nothing much included in recent versions, mostly bug-fixes and build/CI improvements. The binary name has changed so thats updated in our Dockerfile. * Fix watch script. This repo doesnt use a src/ directory, everything is just in the repo root. * Hard-code MIME type for RSS feed.
- Loading branch information
1 parent
a031a5c
commit 26ff895
Showing
4 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# Remove old hugo output before building | ||
rm -rf src/public src/resources | ||
rm -rf public resources | ||
|
||
# Serve site | ||
# --buildFuture include content with publishdate in the future | ||
# --buildDrafts include content marked as draft | ||
# --disableFastRender enables full re-renders on changes | ||
# --source filesystem path to read files relative from | ||
# --baseURL hostname (and path) to the root | ||
hugo server \ | ||
--buildFuture \ | ||
--buildDrafts \ | ||
--disableFastRender \ | ||
--source src \ | ||
--baseURL http://localhost:1313 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters