Fix bug
This commit is contained in:
parent
152b1bb187
commit
9af5c40075
1 changed files with 0 additions and 1 deletions
|
@ -287,7 +287,6 @@ class ContestMixin(object):
|
||||||
metadata = generate_opengraph(
|
metadata = generate_opengraph(
|
||||||
"generated-meta-contest:%d" % self.object.id,
|
"generated-meta-contest:%d" % self.object.id,
|
||||||
self.object.description,
|
self.object.description,
|
||||||
"contest",
|
|
||||||
)
|
)
|
||||||
context["meta_description"] = self.object.summary or metadata[0]
|
context["meta_description"] = self.object.summary or metadata[0]
|
||||||
context["og_image"] = self.object.og_image or metadata[1]
|
context["og_image"] = self.object.og_image or metadata[1]
|
||||||
|
|
Loading…
Reference in a new issue