|
|
@@ -42,6 +42,7 @@ const ( |
|
|
|
tplExploreImages base.TplName = "explore/images" |
|
|
|
tplExploreExploreDataAnalysis base.TplName = "explore/data_analysis" |
|
|
|
tplHomeTerm base.TplName = "terms" |
|
|
|
tplHomeAnnual base.TplName = "annual_privacy" |
|
|
|
tplHomePrivacy base.TplName = "privacy" |
|
|
|
tplResoruceDesc base.TplName = "resource_desc" |
|
|
|
tplRepoSquare base.TplName = "explore/repos/square" |
|
|
@@ -966,6 +967,9 @@ func RecommendHomeInfo(ctx *context.Context) { |
|
|
|
func HomeTerm(ctx *context.Context) { |
|
|
|
ctx.HTML(200, tplHomeTerm) |
|
|
|
} |
|
|
|
func HomeAnnual(ctx *context.Context) { |
|
|
|
ctx.HTML(200, tplHomeAnnual) |
|
|
|
} |
|
|
|
|
|
|
|
func HomePrivacy(ctx *context.Context) { |
|
|
|
ctx.HTML(200, tplHomePrivacy) |
|
|
|