|
@@ -6,6 +6,7 @@ import (
|
|
|
"gitote/gitote/pkg/setting"
|
|
"gitote/gitote/pkg/setting"
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+//TemplatePreview pre render the template to preview it
|
|
|
func TemplatePreview(c *context.Context) {
|
|
func TemplatePreview(c *context.Context) {
|
|
|
c.Data["User"] = models.User{Name: "Yoginth"}
|
|
c.Data["User"] = models.User{Name: "Yoginth"}
|
|
|
c.Data["AppVer"] = setting.AppVer
|
|
c.Data["AppVer"] = setting.AppVer
|