Skip to content

Commit

Permalink
Merge pull request #1202 from chef/im/buildfuture
Browse files Browse the repository at this point in the history
Add buildfuture to make commands
  • Loading branch information
tyler-ball authored May 27, 2020
2 parents ff5d5c0 + 60d1c47 commit 489f7e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions www/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ clean_all:
rm -rf chef-web-docs/results/

preview_netlify: chef_web_docs_submodule
pushd chef-web-docs && make assets; hugo --gc --minify --enableGitInfo && popd
pushd chef-web-docs && make assets; hugo --gc --minify --enableGitInfo --buildFuture && popd
make reset_chef_web_docs

serve_chef_web_docs: chef_web_docs_submodule
pushd chef-web-docs && make assets; hugo server --buildDrafts --noHTTPCache && popd
pushd chef-web-docs && make assets; hugo server --buildDrafts --noHTTPCache --buildFuture && popd

chef_web_docs_submodule:
git submodule update --init --recursive
Expand All @@ -33,7 +33,7 @@ reset_chef_web_docs:

serve: assets
cd chef-web-docs
hugo server --buildDrafts --noHTTPCache
hugo server --buildDrafts --noHTTPCache --buildFuture

lint: assets
hugo -D
2 changes: 2 additions & 0 deletions www/archetypes/default.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title = "{{ replace .Name "-" " " | title }}"
draft = true

publishDate = ""

[menu]
[menu.workstation]
title = "{{ replace .Name "-" " " | title }}"
Expand Down

0 comments on commit 489f7e1

Please sign in to comment.