diff --git a/src/website/education.go b/src/website/education.go index 3f227062..244c91b1 100644 --- a/src/website/education.go +++ b/src/website/education.go @@ -91,6 +91,9 @@ func EducationIndex(c *RequestContext) ResponseData { NewArticleUrl: hmnurl.BuildEducationArticleNew(), RerenderUrl: hmnurl.BuildEducationRerender(), } + tmpl.OpenGraphItems = append(tmpl.OpenGraphItems, templates.OpenGraphItem{ + Property: "og:description", Value: "Learn the Handmade way with our curated articles on a variety of topics.", + }) var res ResponseData res.MustWriteTemplate("education_index.html", tmpl, c.Perf) diff --git a/src/website/routes.go b/src/website/routes.go index 028d9883..0154d4b5 100644 --- a/src/website/routes.go +++ b/src/website/routes.go @@ -118,7 +118,7 @@ func NewWebsiteRoutes(conn *pgxpool.Pool) http.Handler { hmnOnly.GET(hmnurl.RegexFishbowl, Fishbowl) hmnOnly.GET(hmnurl.RegexEducationIndex, EducationIndex) - hmnOnly.GET(hmnurl.RegexEducationGlossary, EducationGlossary) + hmnOnly.GET(hmnurl.RegexEducationGlossary, educationAuthorsOnly(EducationGlossary)) // TODO: Remove this gate hmnOnly.GET(hmnurl.RegexEducationArticleNew, educationAuthorsOnly(EducationArticleNew)) hmnOnly.POST(hmnurl.RegexEducationArticleNew, educationAuthorsOnly(EducationArticleNewSubmit)) hmnOnly.GET(hmnurl.RegexEducationRerender, educationAuthorsOnly(EducationRerender))