From 5e4a9e9d8ae65b9f202d8a42b32d53dc165548bf Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 22 Oct 2017 06:01:05 -0500 Subject: [PATCH] archetypes: Default `projects` to empty array (#206 #340) * default `projects` to empty array * prevent projects button being generated when not required --- archetypes/publication.md | 3 ++- archetypes/talk.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/archetypes/publication.md b/archetypes/publication.md index 6fa0a493..a0c38409 100644 --- a/archetypes/publication.md +++ b/archetypes/publication.md @@ -34,7 +34,8 @@ selected = false # Projects (optional). # Associate this publication with one or more of your projects. # Simply enter the filename (excluding '.md') of your project file in `content/project/`. -projects = [""] +# E.g. `projects = ["deep-learning"]` references `content/project/deep-learning.md`. +projects = [] # Links (optional). url_pdf = "" diff --git a/archetypes/talk.md b/archetypes/talk.md index 31267d60..1eba0fca 100644 --- a/archetypes/talk.md +++ b/archetypes/talk.md @@ -25,7 +25,8 @@ selected = false # Projects (optional). # Associate this talk with one or more of your projects. # Simply enter the filename (excluding '.md') of your project file in `content/project/`. -projects = [""] +# E.g. `projects = ["deep-learning"]` references `content/project/deep-learning.md`. +projects = [] # Links (optional). url_pdf = ""