aboutsummaryrefslogtreecommitdiffstats
path: root/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'template.go')
-rw-r--r--template.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/template.go b/template.go
index 3bdcc9d..cdcbf66 100644
--- a/template.go
+++ b/template.go
@@ -21,6 +21,7 @@ type GlobalRenderData struct {
Username string
// TODO: list of mailboxes
+ // Additional plugin-specific data
Extra map[string]interface{}
}
@@ -28,7 +29,8 @@ type GlobalRenderData struct {
// template-specific fields.
type RenderData struct {
Global GlobalRenderData
- Extra map[string]interface{}
+ // Additional plugin-specific data
+ Extra map[string]interface{}
}
func NewRenderData(ctx *Context) *RenderData {