build draft for example site

This commit is contained in:
loikein 2023-05-01 17:57:00 +01:00
parent 02788d2fe5
commit 72bba2c30e
11 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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!

View file

@ -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]