archetypes: Default projects to empty array (#206 #340)

* default `projects` to empty array
* prevent projects button being generated when not required
This commit is contained in:
Dongdong Tian 2017-10-22 06:01:05 -05:00 committed by gcushen
commit 5e4a9e9d8a
2 changed files with 4 additions and 2 deletions

View file

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

View file

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