mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 13:59:44 +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
|
||||
weight: -95
|
||||
identifier: book
|
||||
url: /exampleBook/
|
||||
url: /a-book/
|
||||
- name: Categories
|
||||
weight: -90
|
||||
identifier: categories
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
title: Home
|
||||
---
|
||||
You can write more stuff here, for example:
|
||||
|
||||
Welcome!
|
||||
In actual sites, drafts will not be built (unless you choose to).
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[build]
|
||||
command = "cd exampleSite && hugo --minify --gc --themesDir .. --theme ."
|
||||
command = "cd exampleSite && hugo --buildDrafts --minify --gc --themesDir .. --theme ."
|
||||
publish = "exampleSite/public"
|
||||
|
||||
[build.environment]
|
||||
|
|
Loading…
Reference in a new issue