From c9a10c21e10f855641efc75bb273fb3694c23b6e Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sun, 6 Dec 2015 14:31:52 +0100 Subject: [PATCH] Set page's language in html tag --- source/layouts/layout.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index 49cd8cd..438f2d7 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -1,5 +1,5 @@ !!! 5 -%html +%html{lang: (current_page.data.lang || 'en')} %head %title= page_title %meta{name: :description, content: page_description}