fix(metatags): check if value is set for key
This commit is contained in:
parent
4a3f0380dc
commit
6994cc684f
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class MetaTags:
|
|||
|
||||
def init_metatags_from_context(self):
|
||||
for key in METATAGS:
|
||||
if key not in self.tags and self.context.get(key):
|
||||
if not self.tags.get(key) and self.context.get(key):
|
||||
self.tags[key] = self.context[key]
|
||||
|
||||
if not self.tags.get("title"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue