# HG changeset patch # User Thierry Florac # Date 1547662381 -3600 # Node ID 1c7bd4ccfb32babe607425349c432f216f548adb # Parent 08196fe15f4a7bb95621d477d4f8f298ad2bd110 Added Schema.org meta header class diff -r 08196fe15f4a -r 1c7bd4ccfb32 src/pyams_skin/metas.py --- a/src/pyams_skin/metas.py Wed Jan 16 11:56:44 2019 +0100 +++ b/src/pyams_skin/metas.py Wed Jan 16 19:13:01 2019 +0100 @@ -116,6 +116,19 @@ @implementer(IMetaHeader) +class SchemaMeta(object): + """Schema.org property meta header""" + + def __init__(self, name, value): + self.name = name + self.value = value + + def render(self): + return ''''''.format(name=self.name, + value=self.value) + + +@implementer(IMetaHeader) class LinkMeta(object): """Link meta header"""