Added Opengraph prefix in page layout head
authorThierry Florac <thierry.florac@onf.fr>
Thu, 05 Jul 2018 15:10:47 +0200
changeset 73 d29bba682119
parent 72 cdcd0e026b79
child 74 5514b9412459
Added Opengraph prefix in page layout head
src/pyams_default_theme/templates/layout.pt
--- a/src/pyams_default_theme/templates/layout.pt	Thu Jul 05 12:32:47 2018 +0200
+++ b/src/pyams_default_theme/templates/layout.pt	Thu Jul 05 15:10:47 2018 +0200
@@ -2,7 +2,7 @@
 <html lang="en" i18n:domain="pyams_default_theme"
 	  tal:define="config extension:configuration;"
 	  tal:attributes="lang request.locale_name">
-<head>
+<head prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#">
 	<tal:var replace="structure extension:metas" />
 
 	<tal:if define="icon config.icon | nothing; url extension:absolute_url(icon);" condition="icon">