summaryrefslogtreecommitdiff
path: root/cmd/ponzu/templates/gen-content.tmpl
diff options
context:
space:
mode:
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"
)