Corrected OepnGraph locale tags
authorThierry Florac <tflorac@ulthar.net>
Sun, 28 Oct 2018 16:23:22 +0100
changeset 1046 8c0d5eec0c59
parent 1045 ed4ce8ff68ba
child 1047 a1b6d3389684
Corrected OepnGraph locale tags
src/pyams_content/shared/common/skin/opengraph.py
--- a/src/pyams_content/shared/common/skin/opengraph.py	Sun Oct 28 16:22:29 2018 +0100
+++ b/src/pyams_content/shared/common/skin/opengraph.py	Sun Oct 28 16:23:22 2018 +0100
@@ -93,6 +93,6 @@
             yield PropertyMeta('og:image:alt', II18n(illustration).query_attribute('alt_title', lang=lang,
                                                                                    request=request))
         # locales properties
-        yield PropertyMeta('of:locale', lang)
+        yield PropertyMeta('og:locale', lang)
         for lang in II18nManager(context).languages or ():
-            yield PropertyMeta('of:locale:alternate', lang)
+            yield PropertyMeta('og:locale:alternate', lang)