summaryrefslogtreecommitdiff
path: root/cmd/ponzu/templates/gen-content.tmpl
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-05-07 20:07:09 -0700
committerSteve Manuel <nilslice@gmail.com>2017-05-07 20:07:09 -0700
commitdba96b5b097e87ce1ac4d061667fcd68bfc4beab (patch)
tree69d14ca08f85042ae1f41dfbf755038c666e59b9 /cmd/ponzu/templates/gen-content.tmpl
parentbf9bc29974c11ff2a636692952446b524dd5b643 (diff)
adding reference type and auto-repeater generate syntax to the CLI, updating templates to support
Diffstat (limited to 'cmd/ponzu/templates/gen-content.tmpl')
-rw-r--r--cmd/ponzu/templates/gen-content.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/ponzu/templates/gen-content.tmpl b/cmd/ponzu/templates/gen-content.tmpl
index 2d92b88..78b5123 100644
--- a/cmd/ponzu/templates/gen-content.tmpl
+++ b/cmd/ponzu/templates/gen-content.tmpl
@@ -2,7 +2,9 @@ package content
import (
"fmt"
-
+ {{ if .HasReferences }}
+ "github.com/bosssauce/reference"
+ {{ end }}
"github.com/ponzu-cms/ponzu/management/editor"
"github.com/ponzu-cms/ponzu/system/item"
)