-<html{% if lang is defined and lang %} lang="{{ lang }}"{% endif %}>
- <head>
+<html{% if app.request.locale is defined and app.request.locale %} lang="{{ app.request.locale }}"{% endif %}>
+ <head{% if ogps is defined or facebooks is defined %} prefix="{% if ogps is defined and ogps %}og: http://ogp.me/ns#{% endif %} {% if facebooks is defined and facebooks %}fb: http://ogp.me/ns/fb#{% endif %}"{% endif %}>