|
|
@@ -92,8 +92,6 @@ func Home(ctx *context.Context) { |
|
|
|
if setting.Course.OrgName == org.Name { |
|
|
|
pageSize = 15 |
|
|
|
CourseOptional = util.OptionalBoolTrue |
|
|
|
recommendCourses, _ := repository.GetRecommendRepoFromPromote("courses") |
|
|
|
ctx.Data["RecommendCourses"] = recommendCourses |
|
|
|
recommendCourseKeyWords, _ := repository.GetRecommendCourseKeyWords() |
|
|
|
ctx.Data["CoursesKeywords"] = recommendCourseKeyWords |
|
|
|
|
|
|
|