Add special Twitter card

This commit is contained in:
Ben Visness 2023-03-07 12:07:02 -06:00
parent 5296e0a15a
commit 81b92d3aef
2 changed files with 2 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

View File

@ -25,6 +25,8 @@ func JamIndex2023_Visibility(c *RequestContext) ResponseData {
{Property: "og:image", Value: hmnurl.BuildPublic("visjam2023/opengraph.png", true)}, {Property: "og:image", Value: hmnurl.BuildPublic("visjam2023/opengraph.png", true)},
{Property: "og:description", Value: "See things in a new way. April 14 - 16."}, {Property: "og:description", Value: "See things in a new way. April 14 - 16."},
{Property: "og:url", Value: hmnurl.BuildJamIndex()}, {Property: "og:url", Value: hmnurl.BuildJamIndex()},
{Name: "twitter:card", Value: "summary_large_image"},
{Name: "twitter:image", Value: hmnurl.BuildPublic("visjam2023/TwitterCard.png", true)},
} }
type JamPageData struct { type JamPageData struct {