summaryrefslogtreecommitdiffstats
path: root/create/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'create/content.go')
-rw-r--r--create/content.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/create/content.go b/create/content.go
index 08094f261..d939cb6bf 100644
--- a/create/content.go
+++ b/create/content.go
@@ -110,6 +110,9 @@ func createMetadata(archetype parser.Page, name string) (map[string]interface{},
var date time.Time
for k, v := range metadata {
+ if v == "" {
+ continue
+ }
lk := strings.ToLower(k)
switch lk {
case "date":