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 authored and gcushen committed 2017-10-22 12:01:05 +01:00
1 parent c07e3e5db0
commit 5e4a9e9d8a
2 files changed
+4 -2

No files matched your search

+2 -1
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 = ""
+2 -1
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 = ""