def get_meta(self) -> Meta: return Meta( title=self.get_title(), description=self.get_description(), keywords=[self.style.name.lower(), 'style'], url=object_url(self.style), )
def get_meta(self) -> Meta: return Meta( title=self.get_title(), description=html2text(self.get_description()), keywords=[self.fermentable.name.lower(), 'fermentable', 'malt', 'mashing'], url=object_url(self.fermentable), )
def get_meta(self) -> Meta: return Meta( title=self.get_title(), description=html2text(self.get_description()), keywords=[self.yeast.name.lower(), 'yeast', 'fermentation'], url=object_url(self.yeast), )
def get_meta(self) -> Meta: return Meta( title=self.get_title(), description=html2text(self.get_description()), keywords=[self.hop.name.lower(), 'hop', 'dry-hopping', 'bittering', 'aroma'], url=object_url(self.hop), )
def url(item: object): return object_url(item)