diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-05-07 20:07:09 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-05-07 20:07:09 -0700 |
commit | dba96b5b097e87ce1ac4d061667fcd68bfc4beab (patch) | |
tree | 69d14ca08f85042ae1f41dfbf755038c666e59b9 /cmd/ponzu/templates/gen-content.tmpl | |
parent | bf9bc29974c11ff2a636692952446b524dd5b643 (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.tmpl | 4 |
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" ) |