mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-23 07:56:58 +01:00
build draft for example site
This commit is contained in:
parent
02788d2fe5
commit
72bba2c30e
11 changed files with 3 additions and 5 deletions
|
@ -83,7 +83,7 @@ menu:
|
||||||
- name: A-Book
|
- name: A-Book
|
||||||
weight: -95
|
weight: -95
|
||||||
identifier: book
|
identifier: book
|
||||||
url: /exampleBook/
|
url: /a-book/
|
||||||
- name: Categories
|
- name: Categories
|
||||||
weight: -90
|
weight: -90
|
||||||
identifier: categories
|
identifier: categories
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
title: Home
|
title: Home
|
||||||
---
|
---
|
||||||
You can write more stuff here, for example:
|
In actual sites, drafts will not be built (unless you choose to).
|
||||||
|
|
||||||
Welcome!
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
command = "cd exampleSite && hugo --minify --gc --themesDir .. --theme ."
|
command = "cd exampleSite && hugo --buildDrafts --minify --gc --themesDir .. --theme ."
|
||||||
publish = "exampleSite/public"
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
|
|
Loading…
Reference in a new issue